Skip to content

Commit

Permalink
fix: cicd job names and variable declarations
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Giacon <[email protected]>
  • Loading branch information
mfw78 and fedgiac authored Jun 3, 2024
1 parent 8487ff6 commit 0dfa587
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
FOUNDRY_PROFILE: ci

jobs:
tests:
gas:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-node@v4
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
FOUNDRY_PROFILE: ci

jobs:
tests:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -27,7 +27,7 @@ jobs:

- uses: actions/setup-node@v4
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Test
on:
workflow_dispatch:
pull_request:
branches:
- main
paths:
- '**.sol'
- '**.yml'
Expand All @@ -19,7 +17,7 @@ env:
FOUNDRY_PROFILE: ci

jobs:
check:
test:
strategy:
fail-fast: true

Expand All @@ -32,7 +30,7 @@ jobs:

- uses: actions/setup-node@v4
- id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
- uses: actions/cache@v4
with:
path: ${{ steps.yarn-cache.outputs.dir }}
Expand Down
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"editor.formatOnSave": true,
"solidity.packageDefaultDependenciesContractsDirectory": "src/contracts/",
"solidity.packageDefaultDependenciesDirectory": "lib",
"[solidity]": {
Expand Down

0 comments on commit 0dfa587

Please sign in to comment.