Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/kunal/send-receiver-forge-test' …
Browse files Browse the repository at this point in the history
…into kunal/send-receiver-forge-test
  • Loading branch information
aroralanuk committed Dec 14, 2023
2 parents b0761ee + 887511f commit 6c5bbef
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches: [main]
paths:
- 'solidity/**'
- '.github/workflows/static-analysis.yml'

jobs:
slither:
Expand All @@ -21,10 +22,17 @@ jobs:
with:
path: |
**/node_modules
.yarn/cache
.yarn
key: ${{ runner.os }}-yarn-cache-${{ hashFiles('./yarn.lock') }}

- run: yarn workspaces focus @hyperlane-xyz/core
- name: yarn-install
run: yarn install

- name: foundry-install
uses: onbjerg/foundry-toolchain@v1

- name: forge-build
run: cd solidity && forge build --build-info

- name: Static analysis
uses: crytic/[email protected]
Expand All @@ -34,6 +42,7 @@ jobs:
slither-config: 'solidity/slither.config.json'
sarif: results.sarif
fail-on: none
ignore-compile: true

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down

0 comments on commit 6c5bbef

Please sign in to comment.