Skip to content

Commit

Permalink
Improve CI build (#64)
Browse files Browse the repository at this point in the history
* Turn optimizer off by default

* Improve slither output on CI
  • Loading branch information
ermyas authored Sep 14, 2023
1 parent fbcedb5 commit dd2eee0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,5 @@ jobs:
fail-on: high
ignore-compile: true
solc-version: 0.8.19
slither-args: --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/
slither-config: "slither.config.json"
12 changes: 5 additions & 7 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,17 @@ src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.19"

optimizer = true
optimizer = false
runs = 100
viaIR = true
viaIR = false

[profile.local]
[profile.prod]
src = "src"
out = "out"
libs = ["lib"]
solc = "0.8.19"

optimizer = false
optimizer = true
runs = 100
viaIR = false
viaIR = true

# See more config options https://github.com/foundry-rs/foundry/tree/master/config

0 comments on commit dd2eee0

Please sign in to comment.