Skip to content

Commit ae33a5e

Browse files
authored
ci: Set rust version of clippy job to a fixed version (#1090)
Prevent CI breakage when new lints are added to stable rust version by explicitly choosing the rust version used for the clippy job.
1 parent ba77654 commit ae33a5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
PROTOC_VERSION: 3.20.3
13+
clippy_rust_version: 1.78
1314

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

0 commit comments

Comments
 (0)