Skip to content

Commit

Permalink
Attempt to correct minimal-versions msrv check
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Nov 22, 2023
1 parent 064b4fc commit 7b29738
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ jobs:
- name: Checkout sources
uses: actions/checkout@v3


- name: Install cargo-binstall
uses: taiki-e/install-action@cargo-binstall
- name: Install cargo-msrv
Expand All @@ -123,13 +122,15 @@ jobs:
- name: Install cargo-minimal-versions
uses: taiki-e/install-action@cargo-minimal-versions

- name: Install MSRV Rust version
run: rustup toolchain install $(cargo msrv show --output-format=minimal)
#- uses: Swatinem/rust-cache@v1

- name: Check with minimal versions
run: cargo msrv verify --log-target=stdout --output-format=json -- cargo minimal-versions check --workspace --ignore-private
run: cargo +$(cargo msrv show --output-format=minimal) minimal-versions check --workspace --ignore-private

- name: Test with minimal versions
run: cargo msrv verify --log-target=stdout --output-format=json -- cargo minimal-versions test -- --test-threads 1
run: cargo +$(cargo msrv show --output-format=minimal) minimal-versions test -- --test-threads 1

lints:
name: Lints
Expand Down

0 comments on commit 7b29738

Please sign in to comment.