Merge pull request #6715 from dcampbell24/main

Change the git pre-commit actions to work on stable.
This commit is contained in:
Sylvestre Ledru
2024-09-19 18:40:55 +02:00
committed by GitHub
+2 -2
View File
@@ -4,14 +4,14 @@ repos:
- id: rust-linting
name: Rust linting
description: Run cargo fmt on files included in the commit.
entry: cargo +nightly fmt --
entry: cargo fmt --
pass_filenames: true
types: [file, rust]
language: system
- id: rust-clippy
name: Rust clippy
description: Run cargo clippy on files included in the commit.
entry: cargo +nightly clippy --workspace --all-targets --all-features --
entry: cargo clippy --workspace --all-targets --all-features --
pass_filenames: false
types: [file, rust]
language: system