File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : L1 Contracts Tests
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches :
7+ - " celo-integration*"
8+ - " main"
9+ - " develop"
10+ workflow_dispatch :
11+
12+ jobs :
13+ contracts-test :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout repository
17+ uses : actions/checkout@v4
18+ with :
19+ submodules : recursive
20+
21+ - name : Install Foundry
22+ uses : foundry-rs/foundry-toolchain@v1
23+ with :
24+ version : nightly
25+
26+ - name : Install Just
27+ uses : extractions/setup-just@v2
28+
29+ - name : Set up Go
30+ uses : actions/setup-go@v5
31+ with :
32+ go-version : ' 1.23'
33+
34+ - name : Install dependencies
35+ working-directory : packages/contracts-bedrock
36+ run : just install
37+
38+ - name : Build go-ffi
39+ working-directory : packages/contracts-bedrock
40+ run : just build-go-ffi
41+
42+ - name : Build contracts
43+ working-directory : packages/contracts-bedrock
44+ run : just build
45+
46+ - name : Run L1 contracts tests
47+ working-directory : packages/contracts-bedrock
48+ run : forge test --match-path "test/L1/*.t.sol" -vv
49+
50+ - name : Check formatting
51+ working-directory : packages/contracts-bedrock
52+ run : forge fmt --check
You can’t perform that action at this time.
0 commit comments