Only check library target for MSRV

This commit is contained in:
Dirkjan Ochtman 2023-05-12 13:38:02 +02:00
parent c9a7b9da52
commit 11551dedf4
1 changed files with 15 additions and 5 deletions

View File

@ -12,16 +12,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
rust: [stable, beta, 1.64.0]
rust: [stable, beta]
exclude:
- os: macos-latest
rust: beta
- os: windows-latest
rust: beta
- os: macos-latest
rust: 1.64.0
- os: windows-latest
rust: 1.64.0
runs-on: ${{ matrix.os }}
@ -37,6 +33,20 @@ jobs:
command: build
args: --all-features --all-targets
msrv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.60.0
override: true
- uses: actions-rs/cargo@v1
with:
command: check
args: --lib --all-features
lint:
runs-on: ubuntu-latest
steps: