test MSRV in CI

This commit is contained in:
Conrado Gouvea 2023-02-28 15:06:08 -03:00 committed by Deirdre Connolly
parent eadc48879a
commit cf7a577478
1 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,19 @@ name: CI
on: [push]
jobs:
test_msrv:
name: test on MSRV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions-rs/toolchain@v1.0.7
with:
# When toolchain is not specified, it uses rust-toolchain, which is the MSRV
override: true
- uses: actions-rs/cargo@v1.0.3
with:
command: test
args: --all-features
test_nightly:
name: test on nightly
runs-on: ubuntu-latest