-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: try to put explicit compilation in slither ci
- Loading branch information
1 parent
5a835e7
commit e60ee51
Showing
2 changed files
with
6 additions
and
9 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 |
---|---|---|
|
@@ -10,10 +10,6 @@ on: | |
branches: | ||
- "main" | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
@@ -147,7 +143,7 @@ jobs: | |
version: nightly | ||
|
||
- name: Run Foundry tests | ||
run: yarn test:fuzz | ||
run: npm run test:fuzz | ||
env: | ||
FOUNDRY_FUZZ_RUNS: "5000" | ||
|
||
|
@@ -185,7 +181,6 @@ jobs: | |
echo "✅ Uploaded to Codecov" >> $GITHUB_STEP_SUMMARY | ||
slither-analyze: | ||
needs: ["build", "lint"] | ||
runs-on: "ubuntu-latest" | ||
permissions: | ||
actions: "read" | ||
|
@@ -202,9 +197,10 @@ jobs: | |
version: nightly | ||
|
||
- name: Compile foundry | ||
run: | | ||
forge clean | ||
forge build --build-info --skip */test/** */scripts/** --force | ||
run: forge build --build-info --skip */test/** */scripts/** --force | ||
|
||
- name: See output | ||
run: ls -la out | ||
|
||
- name: "Run Slither analysis" | ||
uses: "crytic/[email protected]" | ||
|
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