Skip to content

Commit 05bd52e

Browse files
committed
Disable larger runners except for during the test
1 parent 90d4c05 commit 05bd52e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
timeout-minutes: 15
117117
needs: determine_changes
118118
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
119-
runs-on: github-windows-2025-x86_64-16
119+
runs-on: windows-latest
120120
name: "cargo clippy | windows"
121121
steps:
122122
- uses: actions/checkout@v4
@@ -324,7 +324,7 @@ jobs:
324324
timeout-minutes: 15
325325
needs: determine_changes
326326
if: ${{ github.repository == 'astral-sh/uv' && !contains(github.event.pull_request.labels.*.name, 'no-test') && (needs.determine_changes.outputs.code == 'true' || github.ref == 'refs/heads/main') }}
327-
runs-on: github-windows-2025-x86_64-16
327+
runs-on: windows-latest
328328
name: "check windows trampoline | ${{ matrix.target-arch }}"
329329
strategy:
330330
fail-fast: false
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This uses `D:` as the workspace instead of `C:`, as the performance is much
22
# better. Previously, we created a ReFS Dev Drive, but this is actually faster.
33

4-
$Drive = "$($RUNNER_TEMP)"
4+
$Drive = "D:"
55
$Tmp = "$($Drive)\uv-tmp"
66

77
# Create the directory ahead of time in an attempt to avoid race-conditions
@@ -12,8 +12,8 @@ Write-Output `
1212
"TMP=$($Tmp)" `
1313
"TEMP=$($Tmp)" `
1414
"UV_INTERNAL__TEST_DIR=$($Tmp)" `
15-
"RUSTUP_HOME=$($Tm)\.rustup" `
16-
"CARGO_HOME=$($Tm)\.cargo" `
17-
"UV_WORKSPACE=$($Tm)\uv" `
15+
"RUSTUP_HOME=$($Drive)/.rustup" `
16+
"CARGO_HOME=$($Drive)/.cargo" `
17+
"UV_WORKSPACE=$($Drive)/uv" `
1818
>> $env:GITHUB_ENV
1919

0 commit comments

Comments
 (0)