Skip to content

Commit

Permalink
Fix slither action (#549)
Browse files Browse the repository at this point in the history
* 0.3.5

* 0.3.0

* fail on none

* london

* node 18.16

* node

* use slither v0.9.6

* slither args

* foundry out directory

* args

* forge install: sstore2

* remappings

* don't compile all
  • Loading branch information
kumaryash90 authored Oct 18, 2023
1 parent 81a6a1e commit 2b945e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ jobs:
id: slither
with:
sarif: results.sarif
slither-args: --foundry-out-directory artifacts_forge

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
Expand Down
3 changes: 2 additions & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
solc-version = "0.8.12"
#auto_detect_solc = false
cache = true
evm_version = 'shanghai'
evm_version = 'london'
force = false
gas_reports = [
"DropERC721Benchmark",
Expand Down Expand Up @@ -37,6 +37,7 @@ remappings = [
'erc721a-upgradeable/=lib/ERC721A-Upgradeable/',
'erc721a/=lib/ERC721A/',
'@thirdweb-dev/dynamic-contracts/=lib/dynamic-contracts/',
'lib/sstore2=lib/dynamic-contracts/lib/sstore2/'
]
src = 'contracts'
test = 'src/test'
Expand Down

0 comments on commit 2b945e5

Please sign in to comment.