Skip to content

Commit 39bbdb5

Browse files
committed
add CI
1 parent f983cfc commit 39bbdb5

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
ci:
11+
name: ci
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/cache@v4
16+
with:
17+
path: |
18+
~/.cargo/registry
19+
~/.cargo/git
20+
target
21+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
22+
- uses: actions-rs/toolchain@v1
23+
with:
24+
toolchain: nightly-2025-01-01
25+
components: rustfmt, clippy
26+
- uses: actions-rs/cargo@v1
27+
name: format check
28+
with:
29+
command: fmt
30+
args: --all -- --check
31+
- uses: actions-rs/cargo@v1
32+
name: clippy check
33+
with:
34+
command: clippy
35+
args: -- -D warnings
36+
- uses: actions-rs/cargo@v1
37+
name: unit-test
38+
with:
39+
command: test
40+
args: --release

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
NOTE: This project is currently under heavy development. Features may change or break.
88

99
## Supported Versions
10-
- [lcp v0.2.12](https://github.com/datachainlab/lcp/releases/tag/v0.2.12)
11-
- [optimism v1.11.2](https://github.com/ethereum-optimism/optimism/tree/v1.11.2)
10+
- [lcp v0.2.14](https://github.com/datachainlab/lcp/releases/tag/v0.2.14)
11+
- [optimism v1.13.1](https://github.com/ethereum-optimism/optimism/tree/v1.13.1)
1212

1313
## Related project
1414

0 commit comments

Comments
 (0)