Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ jobs:
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
with:
version: '28.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: fmt
run: cargo fmt --all --check
- name: clippy
run: cargo clippy --workspace --features protobuf -- -D warnings
run: cargo clippy --workspace --features protobuf,grpc -- -D warnings
- name: check
run: cargo check --workspace --features protobuf
run: cargo check --workspace --features protobuf,grpc

test:
name: test
Expand All @@ -37,10 +41,14 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- uses: arduino/setup-protoc@v3
with:
version: '28.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: build
run: cargo build --workspace --features protobuf
run: cargo build --workspace --features protobuf,grpc
- name: test
run: cargo test --workspace --features protobuf
run: cargo test --workspace --features protobuf,grpc

build:
name: build
Expand Down
Loading