Skip to content

Commit

Permalink
fix: use same Rust version locally as in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chris13524 committed May 7, 2024
1 parent 2c8bbe5 commit c5c61eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ cargo-check: _check-cmd-cargo
# Check rust project with clippy
cargo-clippy: _check-cmd-cargo-clippy
@printf '==> Running {{ color-cmd }}clippy{{ nocolor }}\n'
cargo +nightly clippy --all-features --tests -- -D clippy::all
cargo clippy --all-features --tests -- -D clippy::all

# Check unused dependencies
cargo-udeps: _check-cmd-cargo-udeps
Expand All @@ -194,7 +194,7 @@ cargo-udeps: _check-cmd-cargo-udeps
# Check the rust code formatting
cargo-checkfmt: _check-cmd-cargo-fmt
@printf '==> Running {{ color-cmd }}rustfmt{{ nocolor }} --check\n'
cargo +nightly fmt --check
cargo fmt --check

################################################################################
# Terraform recipes
Expand Down

0 comments on commit c5c61eb

Please sign in to comment.