Skip to content

Commit 296887e

Browse files
committed
Fixed clippy run in CI
1 parent 1187321 commit 296887e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/rust.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ jobs:
7373
- uses: actions-rs/toolchain@v1
7474
with:
7575
toolchain: 1.73.0
76-
override: true
7776
components: clippy
78-
- run: cargo clippy -- -D warnings
77+
78+
- name: Resolve dependencies for MSRV
79+
run: |
80+
mkdir -p $HOME/.cargo
81+
echo 'resolver.incompatible-rust-versions = "fallback"' > $HOME/.cargo/config.toml
82+
cargo +stable update
83+
84+
- name: Run clippy
85+
run: cargo +1.73.0 clippy -- -D warnings

0 commit comments

Comments
 (0)