Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Slither Analysis

on:
workflow_dispatch:
pull_request:

jobs:
analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run Slither
uses: crytic/slither-action@v0.3.1
id: slither
with:
sarif: results.sarif
fail-on: medium

- name: Upload SARIF file
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ${{ steps.slither.outputs.sarif }}
4 changes: 2 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
url = https://github.com/foundry-rs/forge-std
[submodule "lib/nitro-contracts"]
path = lib/nitro-contracts
url = git@github.com:OffchainLabs/nitro-contracts.git
branch = v1.1.0
url = https://github.com/OffchainLabs/nitro-contracts.git
branch = v1.2.1
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ build
coverage
deployments
dist
slither.db.json
lib
out
7 changes: 7 additions & 0 deletions slither.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"exclude_dependencies": true,
"exclude_informational": true,
"exclude_low": true,
"exclude_optimization": true,
"filter_paths": "contracts/tokenbridge/test|node_modules/"
}
Loading