Skip to content

Commit

Permalink
Rework msrv check
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Nov 22, 2023
1 parent 7b29738 commit 9e5a686
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,20 @@ jobs:
- name: Install cargo-minimal-versions
uses: taiki-e/install-action@cargo-minimal-versions

- 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 $(cargo msrv show --output-format=minimal)
#- uses: Swatinem/rust-cache@v1
run: rustup toolchain install $MSRV

- name: Check with minimal versions
run: cargo +$(cargo msrv show --output-format=minimal) minimal-versions check --workspace --ignore-private
run: cargo +$MSRV minimal-versions check --workspace --ignore-private

- name: Test with minimal versions
run: cargo +$(cargo msrv show --output-format=minimal) minimal-versions test -- --test-threads 1
run: cargo +$MSRV minimal-versions test -- --test-threads 1

lints:
name: Lints
Expand Down

0 comments on commit 9e5a686

Please sign in to comment.