Skip to content

Commit

Permalink
updated ci and FOUNDRY.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
preston4896 committed Nov 22, 2023
1 parent 6c29f13 commit 323613c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: test

on: workflow_dispatch
on:
push:
branches: [main]
pull_request:
branches: [main]

workflow_dispatch:

env:
FOUNDRY_PROFILE: ci
Expand Down
4 changes: 4 additions & 0 deletions foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ src = "src"
out = "out"
libs = ["lib"]

solc = "0.8.21"
optimizer = true
optimizer_runs = 200

# See more config options https://github.com/foundry-rs/foundry/blob/master/crates/config/README.md#all-options

0 comments on commit 323613c

Please sign in to comment.