Skip to content

Commit

Permalink
fix msrv ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Nov 28, 2024
1 parent 9d49e31 commit 8419bdb
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@ jobs:
with:
repo: foresterre/cargo-msrv
file: "cargo-msrv-x86_64-${{ matrix.param.system }}-v.*\\.tgz"
target: "cargo-msrv.tgz"
regex: true

- name: Install cargo-msrv
run: |
tar -xzf "cargo-msrv-x86_64-${{ matrix.param.system }}-v*.tgz" \
-C ~/.cargo/bin --strip-components=1 --wildcards \
"cargo-msrv-x86_64-${{ matrix.param.system }}-v*/cargo-msrv"
tar -tf cargo-msrv.tgz \
| grep '/cargo-msrv' \
| head -n 1 \
| xargs -n1 tar -xzf cargo-msrv.tgz -C ~/.cargo/bin --strip-components=1
cargo msrv --version
- name: Verify MSRV
Expand All @@ -143,8 +145,8 @@ jobs:
if: ${{ failure() }}
run: cargo hack msrv find --min=1.75 --output-format=minimal --all-features

- name: Build with MSRV
- name: Build with Rust version
run: cargo hack --rust-version build --all-targets --all-features

- name: Test with MSRV
- name: Test with Rust version
run: cargo hack --rust-version test --all-targets --all-features

0 comments on commit 8419bdb

Please sign in to comment.