Skip to content

Commit 41b86b1

Browse files
committed
ci: simplify WDK version specification and update sparse-checkout for actions
1 parent 87939c6 commit 41b86b1

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fail-fast: false # Allow all matrix variants to complete even if some fail
2121
matrix:
2222
wdk:
23-
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
23+
- 10.0.22621 # NI WDK
2424

2525
llvm:
2626
- 17.0.6

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
wdk:
20-
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
20+
- 10.0.22621 # NI WDK
2121

2222
llvm:
2323
- 17.0.6

.github/workflows/lint.yaml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
wdk:
19-
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
19+
- 10.0.22621 # NI WDK
2020

2121
llvm:
2222
- 17.0.6
@@ -38,12 +38,19 @@ jobs:
3838
- name: Checkout Repository
3939
uses: actions/checkout@v4
4040

41-
- name: Checkout windows-drivers-rs
41+
- name: Checkout windows-drivers-rs actions
4242
uses: actions/checkout@v4
4343
with:
4444
repository: microsoft/windows-drivers-rs
4545
ref: main
46-
path: windows-drivers-rs
46+
path: _temp/windows-drivers-rs
47+
sparse-checkout: |
48+
.github/actions
49+
sparse-checkout-cone-mode: false
50+
51+
- name: Copy actions to workspace
52+
shell: pwsh
53+
run: Copy-Item -Recurse -Force _temp/windows-drivers-rs/.github/actions .github/
4754

4855
- name: Install Winget
4956
uses: ./.github/actions/install-winget
@@ -85,7 +92,7 @@ jobs:
8592
strategy:
8693
matrix:
8794
wdk:
88-
- Microsoft.WindowsWDK.10.0.22621 # NI WDK
95+
- 10.0.22621 # NI WDK
8996

9097
steps:
9198
- name: Checkout Repository

0 commit comments

Comments
 (0)