Skip to content

Commit 6982b9a

Browse files
committed
Check msrv of both crates
1 parent cd37c45 commit 6982b9a

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/check.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,22 +61,28 @@ jobs:
6161
RUSTDOCFLAGS: --cfg docsrs
6262
msrv:
6363
runs-on: windows-latest
64-
name: MSRV
64+
name: MSRV / ${{ matrix.crate }}
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
msrv: ["1.83"]
68+
include:
69+
- crate: "windivert-sys"
70+
msrv: "1.64"
71+
path: "windivert-sys"
72+
- crate: "windivert"
73+
msrv: "1.83"
74+
path: "windivert"
6975
steps:
7076
- uses: actions/checkout@v4
7177
with:
7278
submodules: true
73-
- name: Install stable
79+
- name: Install ${{ matrix.msrv }}
7480
uses: dtolnay/rust-toolchain@master
7581
id: toolchain
7682
with:
7783
toolchain: ${{ matrix.msrv }}
7884
- uses: Swatinem/rust-cache@v2
7985
with:
80-
key: ${{ steps.toolchain.outputs.cachekey }}
81-
- name: cargo +${{ matrix.msrv }} check
82-
run: cargo check --all-features
86+
key: ${{ steps.toolchain.outputs.cachekey }}-${{ matrix.crate }}
87+
- name: cargo +${{ matrix.msrv }} check (${{ matrix.crate }})
88+
run: cargo check --manifest-path ${{ matrix.path }}/Cargo.toml --all-features

0 commit comments

Comments
 (0)