File tree Expand file tree Collapse file tree 1 file changed +13
-32
lines changed Expand file tree Collapse file tree 1 file changed +13
-32
lines changed Original file line number Diff line number Diff line change 1
- name : test
2
-
3
- on : workflow_dispatch
4
-
5
- env :
6
- FOUNDRY_PROFILE : ci
1
+ name : CI
2
+ on :
3
+ pull_request :
4
+ push :
5
+ branches :
6
+ - main
7
+ workflow_dispatch :
7
8
8
9
jobs :
9
- check :
10
- strategy :
11
- fail-fast : true
12
-
13
- name : Foundry project
14
- runs-on : ubuntu-latest
15
- steps :
16
- - uses : actions/checkout@v4
17
- with :
18
- submodules : recursive
19
-
20
- - name : Install Foundry
21
- uses : foundry-rs/foundry-toolchain@v1
22
- with :
23
- version : nightly
24
-
25
- - name : Run Forge build
26
- run : |
27
- forge --version
28
- forge build --sizes
29
- id : build
30
-
31
- - name : Run Forge tests
32
- run : |
33
- forge test -vvv
34
- id : test
10
+ solidity-base :
11
+ uses : init4tech/actions/.github/workflows/solidity-base.yml@main
12
+ with :
13
+ gas-diff-tolerance : 2 # setting the gas diff tolerance to 2%
14
+ solidity-coverage :
15
+ uses : init4tech/actions/.github/workflows/solidity-coverage.yml@main
You can’t perform that action at this time.
0 commit comments