Skip to content

Commit f6a25dc

Browse files
authored
Update ci.yml (#23)
1 parent 1702cb0 commit f6a25dc

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

.github/workflows/ci.yml

+4-18
Original file line numberDiff line numberDiff line change
@@ -132,26 +132,12 @@ jobs:
132132
tool: cargo-hack, cargo-minimal-versions, cargo-binstall
133133

134134
- name: Install cargo-msrv
135-
run: cargo binstall --version 0.16.0-beta.22 --no-confirm cargo-msrv
136-
137-
# TODO: Revert to this, once https://github.com/foresterre/cargo-msrv/issues/936 is fixed.
138-
# - name: Check with minimal versions
139-
# # To find out the current MSRV, remove the `rust-version` entry from `Cargo.toml` and run:
140-
# # run: cargo minimal-versions msrv --output-format json --all-features --target=thumbv7em-none-eabihf --log-target=stdout --log-level debug
141-
# run: cargo minimal-versions msrv --output-format json --all-features --target thumbv7em-none-eabihf verify
142-
143-
# WORKAROUND:
144-
- name: Determine MSRV
145-
run: echo "MSRV=$(cargo msrv show --output-format=minimal)" >> $GITHUB_ENV
146-
147-
- name: Show MSRV
148-
run: echo $MSRV
149-
150-
- name: Install MSRV Rust version
151-
run: rustup toolchain install $MSRV --target thumbv7em-none-eabihf
135+
run: cargo binstall --version 0.16.0-beta.23 --no-confirm cargo-msrv
152136

153137
- name: Check with minimal versions
154-
run: cargo +${MSRV} minimal-versions check --target thumbv7em-none-eabihf --all-features
138+
# To find out the current MSRV, remove the `rust-version` entry from `Cargo.toml` and run:
139+
# run: cargo minimal-versions msrv --output-format json --all-features --target=thumbv7em-none-eabihf --log-target=stdout --log-level debug
140+
run: cargo minimal-versions msrv --output-format json --all-features --target thumbv7em-none-eabihf verify
155141

156142
semver:
157143
name: Semantic Versioning

0 commit comments

Comments
 (0)