Add Github action to test with nightly compilers.

This commit is contained in:
Isis Lovecruft 2021-09-23 21:13:26 +00:00
parent 48349a1865
commit ee0c6baa45
No known key found for this signature in database
GPG key ID: AB41313533E8E812

View file

@ -85,6 +85,35 @@ jobs:
command: test
args: --lib --no-default-features --features "alloc u32_backend"
nightly:
name: Test nightly compiler
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --features "nightly"
msrv:
name: Current MSRV is 1.41
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.41
override: true
- uses: actions-rs/cargo@v1
with:
command: build
bench:
name: Check that benchmarks compile
runs-on: ubuntu-latest