From aecc24c1ed61bff316a9fee0fc1aa0e64acd50c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CF=87=C2=B2?= <88190723+ChiTimesChi@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:17:41 +0100 Subject: [PATCH] ci: matrix package exclude (#3257) * 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 9ad00bec9f1de5318f8b1fe94a30a9b7f38acce6. --- .github/workflows/solidity.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/solidity.yml b/.github/workflows/solidity.yml index 19d0d643a1..9e8c807f31 100644 --- a/.github/workflows/solidity.yml +++ b/.github/workflows/solidity.yml @@ -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 @@ -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 @@ -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