Skip to content

Commit

Permalink
Run cargo clippy in the dev drive workspace (#115)
Browse files Browse the repository at this point in the history
* Run `cargo clippy` in the dev drive workspace

* Rerun ci to see cache usage

* Shrink dev drive
  • Loading branch information
j178 authored Nov 25, 2024
1 parent b3619ba commit b4db440
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/setup-dev-drive.ps1
Original file line number Diff line number Diff line change
@@ -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 |
Expand Down

0 comments on commit b4db440

Please sign in to comment.