-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add slither job chore: fix solc remap path in slither config * ci: use cached build for slither job * ci: use solc 0.8.21 in slither job * ci: revise slither job revert: ci: use cached build for slither job * ci: remove superfluous "solc-version" config in slither job not required when a compilation framework is used --------- Co-authored-by: andreivladbrg <[email protected]>
- Loading branch information
1 parent
91887da
commit 3883dc3
Showing
2 changed files
with
32 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -284,4 +284,34 @@ jobs: | |
- name: "Add coverage summary" | ||
run: | | ||
echo "## Coverage result" >> $GITHUB_STEP_SUMMARY | ||
echo "✅ Uploaded to Codecov" >> $GITHUB_STEP_SUMMARY | ||
echo "✅ Uploaded to Codecov" >> $GITHUB_STEP_SUMMARY | ||
slither-analyze: | ||
needs: ["lint", "build"] | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
actions: "read" | ||
contents: "read" | ||
security-events: "write" | ||
steps: | ||
- name: "Check out the repo" | ||
uses: "actions/checkout@v3" | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: "Run Slither analysis" | ||
uses: "crytic/[email protected]" | ||
id: "slither" | ||
with: | ||
fail-on: "none" | ||
sarif: "results.sarif" | ||
|
||
- name: "Upload SARIF file to GitHub code scanning" | ||
uses: "github/codeql-action/upload-sarif@v2" | ||
with: | ||
sarif_file: ${{ steps.slither.outputs.sarif }} | ||
|
||
- name: "Add Slither summary" | ||
run: | | ||
echo "## Slither result" >> $GITHUB_STEP_SUMMARY | ||
echo "✅ Uploaded to GitHub code scanning" >> $GITHUB_STEP_SUMMARY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters