Skip to content

Commit 814f0e1

Browse files
committed
Only check library against MSRV
This there is substantial platform-specific code and we only run check anyway, check MSRV on all the platforms.
1 parent 2c24bab commit 814f0e1

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

.github/workflows/rust.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
- stable
1818
- beta
1919
- nightly
20-
- 1.60.0
2120
os: [ubuntu-20.04]
2221
# but only stable on macos/windows (slower platforms)
2322
include:
@@ -62,6 +61,25 @@ jobs:
6261
if: matrix.os == 'macos-latest'
6362
run: sudo bash integration-tests/macos.sh
6463

64+
msrv:
65+
runs-on: ${{ matrix.os }}
66+
strategy:
67+
fail-fast: false
68+
matrix:
69+
os: [ubuntu-20.04, macos-latest, windows-latest]
70+
steps:
71+
- name: Checkout sources
72+
uses: actions/checkout@v3
73+
with:
74+
persist-credentials: false
75+
76+
- name: Install MSRV toolchain
77+
uses: dtolnay/rust-toolchain@master
78+
with:
79+
toolchain: "1.60"
80+
81+
- run: cargo check --lib --all-features
82+
6583
format:
6684
name: Format
6785
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)