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:
Jo
2024-11-06 13:05:34 +08:00
committed by GitHub
parent 129c6f61d4
commit 9f81db7d1d
+4 -1
View File
@@ -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