Skip to content

Commit a28b48e

Browse files
committed
Support kona-client/v1.0.0
1 parent 843674a commit a28b48e

File tree

22 files changed

+7823
-2
lines changed

22 files changed

+7823
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
#pull_request:
8+
workflow_dispatch:
9+
10+
jobs:
11+
lint:
12+
name: lint
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions-rust-lang/setup-rust-toolchain@v1
17+
- uses: Swatinem/rust-cache@v2
18+
- name: Install components
19+
run: |
20+
rustup component add rustfmt clippy
21+
cargo install cargo-machete
22+
- name: Check format
23+
run: cargo fmt --all -- --check
24+
- name: Check clippy
25+
run: cargo clippy --locked -- -D warnings
26+
- name: Check deps
27+
run: cargo machete
28+
test:
29+
name: test
30+
runs-on: ubuntu-latest
31+
steps:
32+
- uses: actions/checkout@v4
33+
with:
34+
submodules: recursive
35+
fetch-depth: 0
36+
- uses: actions-rust-lang/setup-rust-toolchain@v1
37+
- uses: Swatinem/rust-cache@v2
38+
- uses: extractions/setup-just@v2
39+
with:
40+
just-version: 1.40.0
41+
- name: Install Foundry
42+
uses: foundry-rs/foundry-toolchain@v1
43+
- name: Install kurtosis
44+
run: |
45+
sudo apt-get install jq
46+
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
47+
sudo apt update
48+
sudo apt remove kurtosis-cli
49+
sudo apt install kurtosis-cli=1.6.0 -V
50+
- name: Start optimism
51+
run: |
52+
make chain
53+
make devnet-up
54+
make set-port
55+
make wait
56+
make test

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ target/
55

66
# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
77
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
8-
Cargo.lock
98

109
# These are backup files generated by rustfmt
1110
**/*.rs.bk
@@ -18,4 +17,12 @@ Cargo.lock
1817
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
1918
# and can be added to the global gitignore or merged into this file. For a more nuclear
2019
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
21-
#.idea/
20+
#.idea/
21+
22+
# Added by cargo
23+
24+
/target
25+
/.data
26+
*.bin
27+
*.json
28+
chain

0 commit comments

Comments
 (0)