Skip to content

Commit e453e60

Browse files
committed
Fix MSRV check workflow
Adapted the usage of the taiki-e/install-action to install cargo-hack, which is required for the MSRV check. The previous configuration had been using v1 of the action, leading to the installation of an old version of cargo-hack. This, in turn, caused the MSRV check to fail due to the use of the --rust-version flag, which is not supported in older versions of cargo-hack.
1 parent 70b56b5 commit e453e60

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/rust-verify-msrv.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ jobs:
3535
- uses: actions-rust-lang/setup-rust-toolchain@v1
3636
with:
3737
toolchain: ${{ env.RUST_TOOLCHAIN }}
38-
- uses: taiki-e/install-action@v1
39-
with:
40-
tool: cargo-hack
38+
- uses: taiki-e/install-action@cargo-hack
4139
- name: check MSRV
4240
run: |
4341
cargo hack check --rust-version --workspace --all-targets --all-features --ignore-private

0 commit comments

Comments
 (0)