File tree Expand file tree Collapse file tree 1 file changed +27
-6
lines changed
Expand file tree Collapse file tree 1 file changed +27
-6
lines changed Original file line number Diff line number Diff line change 11name : Tests and checks
22on :
33 push :
4- branches :
5- - main
4+
65jobs :
7- test :
6+ lint :
87 name : Linter
98 runs-on : ubuntu-latest
109 steps :
1110 - name : Checkout repo
12- uses : actions/checkout@v3
11+ uses : actions/checkout@v4
1312 - name : Set up node
14- uses : actions/setup-node@v3
13+ uses : actions/setup-node@v4
1514 with :
16- node-version : 18
15+ node-version : 20
1716 cache : ' yarn'
1817 - name : Install dependencies
1918 run : yarn install --immutable
2019 - name : Run lint
2120 run : yarn lint
2221 - name : Run check types
2322 run : yarn check-types
23+
24+ test :
25+ name : Tests
26+ runs-on : ubuntu-latest
27+ steps :
28+ - name : Checkout repo
29+ uses : actions/checkout@v4
30+ - name : Set up node
31+ uses : actions/setup-node@v4
32+ with :
33+ node-version : 20
34+ cache : ' yarn'
35+ - name : Install Foundry
36+ uses : foundry-rs/foundry-toolchain@v1
37+ - name : Check Foundry installation
38+ run : |
39+ anvil --version
40+ cast --version
41+ - name : Install dependencies
42+ run : yarn install --immutable
43+ - name : Run tests
44+ run : yarn test:run
You can’t perform that action at this time.
0 commit comments