Skip to content

Commit

Permalink
ci: Set rust version of clippy job to a fixed version (#1090)
Browse files Browse the repository at this point in the history
Prevent CI breakage when new lints are added to stable rust version by explicitly choosing the rust version used for the clippy job.
  • Loading branch information
caspermeijn committed Jun 25, 2024
1 parent ba77654 commit ae33a5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

env:
PROTOC_VERSION: 3.20.3
clippy_rust_version: 1.78

jobs:
# Depends on all actions that are required for a "successful" CI run.
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
uses: ./.github/actions/setup-ninja
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.clippy_rust_version }}
components: clippy
- run: cargo clippy --workspace --exclude protobuf --all-features --tests -- -D warnings

Expand Down

0 comments on commit ae33a5e

Please sign in to comment.