Skip to content

Commit 844fed3

Browse files
committed
ci: Use explicit clippy version
Using an explicit version of clippy will to prevent CI breaking when new lints are introduced.
1 parent 9b91a7f commit 844fed3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
schedule:
1111
- cron: '0 2 * * *'
1212

13+
env:
14+
clippy_rust_version: '1.82'
15+
1316
jobs:
1417
test:
1518
strategy:
@@ -52,6 +55,7 @@ jobs:
5255
- name: Install toolchain
5356
uses: dtolnay/rust-toolchain@stable
5457
with:
58+
toolchain: ${{ env.clippy_rust_version }}
5559
components: clippy,rustfmt
5660
- name: Execute cargo fmt
5761
run: cargo fmt --all -- --check

0 commit comments

Comments
 (0)