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 a5abeb2
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 @@ -131,9 +131,11 @@ jobs:

- 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"
find . -name 'cargo-msrv-x86_64*.tgz' -exec mv {} cargo-msrv.tgz \;
tar -tf cargo-msrv.tgz \
| grep '/cargo-msrv' \
| head -n1 \
| 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 a5abeb2

Please sign in to comment.