Skip to content

Commit 56c4048

Browse files
committed
optimize ci
1 parent 5627371 commit 56c4048

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,17 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v4
20+
21+
- name: Install Protoc
22+
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
23+
2024
- uses: dtolnay/rust-toolchain@stable
25+
2126
- name: Rust Fmt
22-
run: cargo fmt --all -- --check
27+
run: make fmt-check
28+
2329
- name: Rust Clippy
24-
run: cargo clippy -- -D warnings
30+
run: make lint
2531

2632
build-and-test:
2733
name: Build & Test

0 commit comments

Comments
 (0)