Skip to content

Commit c5c61eb

Browse files
committed
fix: use same Rust version locally as in CI
1 parent 2c8bbe5 commit c5c61eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ cargo-check: _check-cmd-cargo
184184
# Check rust project with clippy
185185
cargo-clippy: _check-cmd-cargo-clippy
186186
@printf '==> Running {{ color-cmd }}clippy{{ nocolor }}\n'
187-
cargo +nightly clippy --all-features --tests -- -D clippy::all
187+
cargo clippy --all-features --tests -- -D clippy::all
188188

189189
# Check unused dependencies
190190
cargo-udeps: _check-cmd-cargo-udeps
@@ -194,7 +194,7 @@ cargo-udeps: _check-cmd-cargo-udeps
194194
# Check the rust code formatting
195195
cargo-checkfmt: _check-cmd-cargo-fmt
196196
@printf '==> Running {{ color-cmd }}rustfmt{{ nocolor }} --check\n'
197-
cargo +nightly fmt --check
197+
cargo fmt --check
198198

199199
################################################################################
200200
# Terraform recipes

0 commit comments

Comments
 (0)