File tree Expand file tree Collapse file tree 1 file changed +71
-0
lines changed
Expand file tree Collapse file tree 1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+
9+ jobs :
10+ lint :
11+ name : lint
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ with :
16+ ref : ${{ github.event.pull_request.head.ref }}
17+ repository : ${{github.event.pull_request.head.repo.full_name}}
18+ - uses : actions/cache@v4
19+ with :
20+ path : |
21+ ~/.cargo/registry
22+ ~/.cargo/git
23+ target
24+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
25+ - uses : actions-rs/toolchain@v1
26+ with :
27+ toolchain : nightly-2024-09-05
28+ components : rustfmt, clippy
29+ - uses : actions-rs/cargo@v1
30+ name : format check
31+ with :
32+ command : fmt
33+ args : --all -- --check
34+ - uses : actions-rs/cargo@v1
35+ name : clippy check
36+ with :
37+ command : clippy
38+ args : -- -D warnings
39+ test :
40+ name : test
41+ runs-on : ubuntu-latest
42+ steps :
43+ - uses : actions/checkout@v2
44+ with :
45+ ref : ${{ github.event.pull_request.head.ref }}
46+ repository : ${{github.event.pull_request.head.repo.full_name}}
47+ - uses : actions/cache@v4
48+ with :
49+ path : |
50+ ~/.cargo/registry
51+ ~/.cargo/git
52+ target
53+ key : ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
54+ - uses : actions-rs/toolchain@v1
55+ with :
56+ toolchain : nightly-2024-09-05
57+ - uses : extractions/setup-just@v2
58+ with :
59+ just-version : 1.5.0
60+ - name : install kurtosis
61+ run : |
62+ echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
63+ sudo apt update
64+ sudo apt remove kurtosis-cli
65+ sudo apt install kurtosis-cli=1.4.3 -V
66+ - name : start optimism
67+ run : |
68+ make chain
69+ make devnet-up
70+ make set-port
71+ make status
You can’t perform that action at this time.
0 commit comments