diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6082e0a45795..77d2e055bdfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -117,7 +117,7 @@ jobs: needs: determine_changes 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') }} runs-on: - labels: "windows-latest-xlarge" + labels: "windows-latest" name: "cargo clippy | windows" steps: - uses: actions/checkout@v4 @@ -259,7 +259,7 @@ jobs: needs: determine_changes 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') }} runs-on: - labels: "windows-latest-xlarge" + labels: "windows-latest" name: "cargo test | windows" steps: - uses: actions/checkout@v4 @@ -334,7 +334,7 @@ jobs: timeout-minutes: 15 needs: determine_changes 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') }} - runs-on: windows-latest-xlarge + runs-on: windows-latest name: "check windows trampoline | ${{ matrix.target-arch }}" strategy: fail-fast: false diff --git a/.github/workflows/setup-dev-drive.ps1 b/.github/workflows/setup-dev-drive.ps1 index a932310fb570..da6324c39d3e 100644 --- a/.github/workflows/setup-dev-drive.ps1 +++ b/.github/workflows/setup-dev-drive.ps1 @@ -1,7 +1,7 @@ # This uses `D:` as the workspace instead of `C:`, as the performance is much # better. Previously, we created a ReFS Dev Drive, but this is actually faster. -$Drive = "$($RUNNER_TEMP)" +$Drive = "D:" $Tmp = "$($Drive)\uv-tmp" # Create the directory ahead of time in an attempt to avoid race-conditions @@ -12,8 +12,8 @@ Write-Output ` "TMP=$($Tmp)" ` "TEMP=$($Tmp)" ` "UV_INTERNAL__TEST_DIR=$($Tmp)" ` - "RUSTUP_HOME=$($Tm)\.rustup" ` - "CARGO_HOME=$($Tm)\.cargo" ` - "UV_WORKSPACE=$($Tm)\uv" ` + "RUSTUP_HOME=$($Drive)/.rustup" ` + "CARGO_HOME=$($Drive)/.cargo" ` + "UV_WORKSPACE=$($Drive)/uv" ` >> $env:GITHUB_ENV