Skip to content

Commit

Permalink
Only check library against MSRV
Browse files Browse the repository at this point in the history
This there is substantial platform-specific code and we only run
check anyway, check MSRV on all the platforms.
  • Loading branch information
djc committed May 23, 2023
1 parent 2c24bab commit 814f0e1
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
- stable
- beta
- nightly
- 1.60.0
os: [ubuntu-20.04]
# but only stable on macos/windows (slower platforms)
include:
Expand Down Expand Up @@ -62,6 +61,25 @@ jobs:
if: matrix.os == 'macos-latest'
run: sudo bash integration-tests/macos.sh

msrv:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-latest, windows-latest]
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
persist-credentials: false

- name: Install MSRV toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: "1.60"

- run: cargo check --lib --all-features

format:
name: Format
runs-on: ubuntu-latest
Expand Down

0 comments on commit 814f0e1

Please sign in to comment.