Skip to content

Commit

Permalink
Bump MSRV, add cargo-msrv verify action
Browse files Browse the repository at this point in the history
  • Loading branch information
kammoh committed Oct 1, 2023
1 parent 423197e commit 7353aa3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
toolchain: nightly
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
toolchain: 1.56.0 # MSRV
toolchain: 1.65.0 # MSRV
- os: ubuntu-latest
deps: sudo apt-get update ; sudo apt install gcc-multilib
target: i686-unknown-linux-gnu
Expand All @@ -29,14 +29,16 @@ jobs:
toolchain: nightly
variant: minimal_versions
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
target: ${{ matrix.target }}
toolchain: ${{ matrix.toolchain }}
override: true
- name: Install cargo-msrv
run: cargo install cargo-msrv
- name: Install dependencies (if necessary)
run: ${{ matrix.deps }}
- name: Minimal versions (if necessary)
Expand All @@ -55,12 +57,14 @@ jobs:
cargo test --target ${{ matrix.target }} --tests --no-default-features
# all stable features:
cargo test --target ${{ matrix.target }} --features=std,serde1,rayon
- name: Verify MSRV
cargo msrv verify
test-no-std:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit 7353aa3

Please sign in to comment.