Skip to content

Commit

Permalink
Add CI check for msrv
Browse files Browse the repository at this point in the history
  • Loading branch information
eopb committed Jul 26, 2023
1 parent 64d82bf commit d071c51
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,19 @@ jobs:
- uses: actions/checkout@v3
- name: doc
run: cargo doc --all-features
msrv:
runs-on: ubuntu-latest
# we use a matrix here just because env can't be used in job names
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
strategy:
matrix:
msrv: [1.56.1]
name: ubuntu / ${{ matrix.msrv }}
steps:
- uses: actions/checkout@v3
- name: Install ${{ matrix.msrv }}
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.msrv }}
- name: cargo +${{ matrix.msrv }} check
run: cargo check --all-features

0 comments on commit d071c51

Please sign in to comment.