Skip to content

Commit c7063c0

Browse files
committed
ci: use installed toolchain to lint Rust
1 parent 89df953 commit c7063c0

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
@@ -36,6 +36,8 @@ jobs:
3636
persist-credentials: false
3737
- name: Install rustfmt and clippy
3838
run: rustup toolchain install $RUST_VERSION --profile minimal --component rustfmt --component clippy
39+
- run: rustup override set $RUST_VERSION
40+
shell: bash
3941
- name: Cache rust cargo artifacts
4042
uses: swatinem/rust-cache@v2
4143
- name: Run rustfmt

0 commit comments

Comments
 (0)