We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54802bb + 5506dd3 commit 78231a0Copy full SHA for 78231a0
.github/workflows/test.yml
@@ -0,0 +1,45 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ workflow_dispatch:
7
8
+env:
9
+ FOUNDRY_PROFILE: ci
10
11
+jobs:
12
+ check:
13
+ strategy:
14
+ fail-fast: true
15
16
+ name: Foundry project
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+ with:
21
+ submodules: recursive
22
23
+ - name: Install Foundry
24
+ uses: foundry-rs/foundry-toolchain@v1
25
26
+ version: nightly
27
28
+ - name: Show Forge version
29
+ run: |
30
+ forge --version
31
32
+ - name: Run Forge fmt
33
34
+ forge fmt --check
35
+ id: fmt
36
37
+ - name: Run Forge build
38
39
+ forge build --sizes
40
+ id: build
41
42
+ - name: Run Forge tests
43
44
+ forge test -vvv
45
+ id: test
0 commit comments