Skip to content

Commit

Permalink
Make job names less dynamic for required checks (#11403)
Browse files Browse the repository at this point in the history
  • Loading branch information
chainchad authored Nov 28, 2023
1 parent f47e290 commit 7280c40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/solidity-foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
matrix:
product: [vrf, automation, llo-feeds, functions, shared]
needs: [changes]
name: Foundry Tests ${{ matrix.product }} ${{ fromJSON('["(skipped)", ""]')[needs.changes.outputs.changes == 'true'] }}
name: Foundry Tests ${{ matrix.product }}
# See https://github.com/foundry-rs/foundry/issues/3827
runs-on: ubuntu-22.04

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
- 'contracts/src/v0.6/**/*'
- 'contracts/src/v0.7/**/*'
- name: Fail if read-only files have changed
if: ${{ steps.changes.outputs.old_sol == 'true' }}
run: |
Expand All @@ -42,8 +41,6 @@ jobs:
done
exit 1
prepublish-test:
needs: [changes]
if: needs.changes.outputs.changes == 'true'
Expand Down Expand Up @@ -117,7 +114,7 @@ jobs:
run:
working-directory: contracts
needs: [changes]
name: Lint ${{ fromJSON('["(skipped)", ""]')[needs.changes.outputs.changes == 'true'] }}
name: Solidity Lint
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
Expand Down

0 comments on commit 7280c40

Please sign in to comment.