-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add access token to ci scripts for private repos fetching in deps
- Loading branch information
1 parent
37a9baa
commit 37d8155
Showing
2 changed files
with
11 additions
and
5 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
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 |
---|---|---|
|
@@ -3,15 +3,18 @@ name: Slither Analysis | |
# temporarily disabled because of the action bug | ||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
branches: [ master ] | ||
branches: [master] | ||
|
||
jobs: | ||
analyze-core: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
token: ${{ secrets.CI_PAT }} | ||
|
||
- name: Install Foundry | ||
uses: onbjerg/foundry-toolchain@v1 | ||
|
@@ -20,14 +23,14 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: forge install | ||
|
||
- name: Run Slither core | ||
uses: crytic/[email protected] | ||
continue-on-error: true | ||
id: slither | ||
with: | ||
target: "src/core" | ||
slither-config: "slither.config.json" | ||
target: 'src/core' | ||
slither-config: 'slither.config.json' | ||
solc-version: 0.8.17 | ||
sarif: results.sarif | ||
fail-on: none | ||
|