We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 616347b commit 4cb7bbeCopy full SHA for 4cb7bbe
1 file changed
project/.github/workflows/test.yml
@@ -0,0 +1,40 @@
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
+ 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
23
+ - name: Show Forge version
24
+ run: |
25
+ forge --version
26
27
+ - name: Run Forge fmt
28
29
+ forge fmt --check
30
+ id: fmt
31
32
+ - name: Run Forge build
33
34
+ forge build --sizes
35
+ id: build
36
37
+ - name: Run Forge tests
38
39
+ forge test -vvv
40
+ id: test
0 commit comments