From 87073667f4df00f439671a0f16a1cbdd386efb6d Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:40:05 +0800 Subject: [PATCH 1/3] Run `cargo clippy` in the dev drive workspace --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d72c45..d619054 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,6 +67,7 @@ jobs: run: rustup component add clippy - name: "Clippy" + working-directory: ${{ env.PRE_COMMIT_WORKSPACE }} run: cargo clippy --workspace --all-targets --all-features --locked -- -D warnings cargo-shear: From fdaa6239ed2071df449b9ff9a255d4334f0d8ecf Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:43:24 +0800 Subject: [PATCH 2/3] Rerun ci to see cache usage From 39e32f5e63e3f41c46c47228dfc8d38c783acae2 Mon Sep 17 00:00:00 2001 From: j178 <10510431+j178@users.noreply.github.com> Date: Mon, 25 Nov 2024 15:47:01 +0800 Subject: [PATCH 3/3] Shrink dev drive --- .github/workflows/setup-dev-drive.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/setup-dev-drive.ps1 b/.github/workflows/setup-dev-drive.ps1 index 4f4d904..5546160 100644 --- a/.github/workflows/setup-dev-drive.ps1 +++ b/.github/workflows/setup-dev-drive.ps1 @@ -1,7 +1,7 @@ -# This creates a 20GB dev drive, and exports all required environment +# This creates a 10GB dev drive, and exports all required environment # variables so that rustup, pre-commit and others all use the dev drive as much # as possible. -$Volume = New-VHD -Path C:/pre-commit_dev_drive.vhdx -SizeBytes 20GB | +$Volume = New-VHD -Path C:/pre-commit_dev_drive.vhdx -SizeBytes 10GB | Mount-VHD -Passthru | Initialize-Disk -Passthru | New-Partition -AssignDriveLetter -UseMaximumSize |