Skip to content

Commit

Permalink
Merge branch 'master' into remove-bolierplate
Browse files Browse the repository at this point in the history
  • Loading branch information
bxb100 authored Nov 25, 2024
2 parents ad0487f + 247ed4a commit 1bd4859
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
# Add a key to invalidate previous caches.
key: 1
workspaces: ${{ env.PRE_COMMIT_WORKSPACE }}

- name: "Install Rust toolchain"
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 1bd4859

Please sign in to comment.