Skip to content

Commit

Permalink
fix: update needs values
Browse files Browse the repository at this point in the history
  • Loading branch information
sripwoud committed Jun 25, 2024
1 parent 4efc37c commit b7eba27
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ jobs:
- run: yarn format
tests:
if: ${{ needs.get-changed-files.outputs.any_changed == 'true' }}
needs: [deps, compile]
needs: [get-changed-files, set-matrix, deps, compile]
runs-on: ubuntu-latest
strategy:
matrix:
dir: ${{ fromJson(needs.set-slither-matrix.outputs.matrix) }}
dir: ${{ fromJson(needs.set-matrix.outputs.matrix) }}

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

set-slither-matrix:
set-matrix:
if: ${{ needs.get-changed-files.outputs.any_changed == 'true' }}
needs: get-changed-files
runs-on: ubuntu-latest
Expand All @@ -132,14 +132,14 @@ jobs:
slither:
if: ${{ needs.get-changed-files.outputs.any_changed == 'true' }}
needs: [set-slither-matrix, deps]
needs: [get-changed-files, set-matrix, deps]
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
strategy:
matrix:
dir: ${{ fromJson(needs.set-slither-matrix.outputs.matrix) }}
dir: ${{ fromJson(needs.set-matrix.outputs.matrix) }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit b7eba27

Please sign in to comment.