mirror of https://github.com/astral-sh/uv
Use cache in windows clippy job (#8852)
Place the `Swatinem/rust-cache@v2` step after `setup-dev-drive.ps1` to ensure the correct directories are cached.
This commit is contained in:
parent
129c6f61d4
commit
9f81db7d1d
|
|
@ -117,7 +117,6 @@ jobs:
|
|||
name: "cargo clippy | windows"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
|
||||
- name: Create Dev Drive using ReFS
|
||||
run: ${{ github.workspace }}/.github/workflows/setup-dev-drive.ps1
|
||||
|
|
@ -127,6 +126,10 @@ jobs:
|
|||
run: |
|
||||
Copy-Item -Path "${{ github.workspace }}" -Destination "${{ env.UV_WORKSPACE }}" -Recurse
|
||||
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: ${{ env.UV_WORKSPACE }}
|
||||
|
||||
- name: "Install Rust toolchain"
|
||||
run: rustup component add clippy
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue