Skip to content

Commit

Permalink
ci: matrix package exclude (#3257)
Browse files Browse the repository at this point in the history
* ci: skip Slither/GasDiff/SizeCheck for single solidity-devops as well

* add temporary change to trigger workflows

* Revert "add temporary change to trigger workflows"

This reverts commit 9ad00be.
  • Loading branch information
ChiTimesChi authored Oct 9, 2024
1 parent 05857f4 commit aecc24c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/solidity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:
cancel_others: 'true'
slither:
name: Slither
if: ${{ needs.changes.outputs.package_count > 0 }}
if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }}
# see https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/setting-up-code-scanning-for-a-repository
runs-on: ubuntu-latest
needs: changes
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:
gas-diff:
runs-on: ubuntu-latest
name: Foundry Gas Diff
if: ${{ needs.changes.outputs.package_count > 0 }}
if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }}
needs: changes
strategy:
fail-fast: false
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
size-check:
name: Foundry Size Check
runs-on: ubuntu-latest
if: ${{ needs.changes.outputs.package_count > 0 }}
if: ${{ needs.changes.outputs.package_count > 0 && needs.changes.outputs.packages != '["solidity-devops"]' }}
needs: changes
strategy:
fail-fast: false
Expand Down

0 comments on commit aecc24c

Please sign in to comment.