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: 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 |