diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cfbb3c3..df31a5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,26 +94,12 @@ jobs: tool: cargo-hack, cargo-minimal-versions, cargo-binstall - name: Install cargo-msrv - run: cargo binstall --version 0.16.0-beta.22 --no-confirm cargo-msrv - - # TODO: Revert to this, once https://github.com/foresterre/cargo-msrv/issues/936 is fixed. - # - name: Check with minimal versions - # # To find out the current MSRV, remove the `rust-version` entry from `Cargo.toml` and run: - # # run: cargo minimal-versions msrv --output-format json --all-features --target=thumbv7em-none-eabihf --log-target=stdout --log-level debug - # run: cargo minimal-versions msrv --output-format json --all-features --target thumbv7em-none-eabihf verify - - # WORKAROUND: - - name: Determine MSRV - run: echo "MSRV=$(cargo msrv show --output-format=minimal)" >> $GITHUB_ENV - - - name: Show MSRV - run: echo $MSRV - - - name: Install MSRV Rust version - run: rustup toolchain install $MSRV --target thumbv7em-none-eabihf + run: cargo binstall --version 0.16.0-beta.23 --no-confirm cargo-msrv - name: Check with minimal versions - run: cargo +${MSRV} minimal-versions check --target thumbv7em-none-eabihf --all-features + # To find out the current MSRV, remove the `rust-version` entry from `Cargo.toml` and run: + # run: cargo minimal-versions msrv --output-format json --all-features --target=thumbv7em-none-eabihf --log-target=stdout --log-level debug + run: cargo minimal-versions msrv --output-format json --all-features --target thumbv7em-none-eabihf verify semver: name: Semantic Versioning