Skip to content

Commit

Permalink
chore: build manually the project
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Oct 12, 2023
1 parent 6327e50 commit ab5d261
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/code-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,27 @@ jobs:
contents: read
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Foundry
uses: onbjerg/foundry-toolchain@v1
with:
version: nightly

- name: Build project
working-directory: ./
run: forge build --build-info --skip test script

- name: Run Slither
uses: crytic/[email protected]
id: slither
with:
ignore-compile: true
node-version: 16
sarif: results.sarif
fail-on: none
slither-config: slither.config.json

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down
3 changes: 0 additions & 3 deletions slither.config.json

This file was deleted.

0 comments on commit ab5d261

Please sign in to comment.