ci(check-and-build-and-test): shuffle steps of the msrv job to try to fix it, and call cargo-msrv instead of cargo msrv

This commit is contained in:
J / Jacob Babich
2024-10-11 03:27:13 -04:00
parent b7eb5330b5
commit 8b0b5d0839

View File

@@ -216,7 +216,12 @@ jobs:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Delete existing Rust stuff - uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ matrix.supporteds.target }}-latest-variable
cache-on-failure: "true"
- name: Delete existing cargo stuff
run: rm -rf ~/.cargo/bin run: rm -rf ~/.cargo/bin
- name: Install cargo-msrv - name: Install cargo-msrv
@@ -224,11 +229,6 @@ jobs:
with: with:
tool: cargo-msrv tool: cargo-msrv
- uses: Swatinem/rust-cache@v2
with:
shared-key: ${{ matrix.supporteds.target }}-latest-variable
cache-on-failure: "true"
- name: Verify declared MSRV (minimum supported Rust version) - name: Verify declared MSRV (minimum supported Rust version)
run: cargo msrv verify --output-format json run: cargo-msrv verify --output-format json
working-directory: ${{ matrix.crate_directory }} working-directory: ${{ matrix.crate_directory }}