Skip to content

Commit

Permalink
chore: add an && in stead of | in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
0xtekgrinder committed May 10, 2024
1 parent 7e34871 commit 81db0ac
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -229,13 +229,12 @@ jobs:
- name: "Run Slither analysis"
id: slither
run:
slither . --ignore-compile --sarif results.sarif --fail-none |
echo "sariff=$(cat results.sarif)" >> "$GITHUB_OUTPUT"
slither . --ignore-compile --sarif results.sarif --fail-none && echo "sariff=$(cat results.sarif)" >> "$GITHUB_OUTPUT"

- name: "Upload SARIF file to GitHub code scanning"
uses: "github/codeql-action/upload-sarif@v2"
with:
sarif_file: ${{ steps.slither.outputs.sariff }}
sarif_file: ${{ steps.slither.outputs.sarziff }}

- name: "Add Slither summary"
run: |
Expand Down

0 comments on commit 81db0ac

Please sign in to comment.