generated from AngleProtocol/boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
63a48fb
commit 84de3b4
Showing
1 changed file
with
12 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 |
---|---|---|
|
@@ -26,6 +26,9 @@ jobs: | |
with: | ||
registry-token: ${{ secrets.GH_REGISTRY_ACCESS_TOKEN }} | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
|
||
- name: Run solhint | ||
run: yarn lint:check | ||
|
||
|
@@ -51,6 +54,9 @@ jobs: | |
with: | ||
registry-token: ${{ secrets.GH_REGISTRY_ACCESS_TOKEN }} | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
|
||
- name: Compile foundry | ||
run: yarn compile --sizes | ||
|
||
|
@@ -220,10 +226,14 @@ jobs: | |
with: | ||
version: nightly | ||
|
||
- name: Compile foundry | ||
run: forge build --build-info --skip */test/** */scripts/** --force | ||
|
||
- name: "Run Slither analysis" | ||
uses: "crytic/[email protected].0" | ||
uses: "crytic/[email protected].2" | ||
id: "slither" | ||
with: | ||
ignore-compile: true | ||
fail-on: "none" | ||
sarif: "results.sarif" | ||
|
||
|
@@ -235,4 +245,4 @@ jobs: | |
- name: "Add Slither summary" | ||
run: | | ||
echo "## Slither result" >> $GITHUB_STEP_SUMMARY | ||
echo "✅ Uploaded to GitHub code scanning" >> $GITHUB_STEP_SUMMARY | ||
echo "✅ Uploaded to GitHub code scanning" >> $GITHUB_STEP_SUMMARY |