Skip to content

Commit

Permalink
Update ci.yml (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis authored Jun 29, 2024
1 parent 5a26c22 commit f2117c6
Showing 1 changed file with 4 additions and 18 deletions.
22 changes: 4 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2117c6

Please sign in to comment.