Skip to content

Commit 7a7f90c

Browse files
zaniebotzanieb
andauthored
Use Namespace runners for Windows Clippy and tests (#19751)
Moves to equivalent Namspace runners for Windows instead of GitHub, which show the greatest performance improvement (picked out from #19604). These runners do not support persistent cache volumes in namespace and, unlike Depot, they do not hijack the `action/cache` API so we're still just using GitHub's caching model here alleviating any concerns about cache poisoning. Co-authored-by: Zanie Blue <[email protected]>
1 parent 3b8e3ca commit 7a7f90c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/check-lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
name: "clippy on windows"
117117
timeout-minutes: 15
118118
if: ${{ inputs.code-changed == 'true' || github.ref == 'refs/heads/main' }}
119-
runs-on: windows-latest
119+
runs-on: namespace-profile-windows-2022-x86-64-4
120120
steps:
121121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
122122
with:

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205

206206
cargo-test-windows:
207207
timeout-minutes: 15
208-
runs-on: github-windows-2025-x86_64-16
208+
runs-on: namespace-profile-windows-2022-x86-64-16
209209
name: "cargo test on windows ${{ matrix.partition }} of 3"
210210
strategy:
211211
fail-fast: false

0 commit comments

Comments
 (0)