mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 12:07:46 +00:00
Change the git pre-commit actions to work on stable.
These are not being fixed, so it does not make sense to constantly take on new lints. The fmts may never be stabilized. Currently, you can not even commit, because it errors out. At least switch to lints that make it to stable when they are released.
This commit is contained in:
parent
b4383f993f
commit
e8bb8dffa1
1 changed files with 2 additions and 2 deletions
|
@ -4,14 +4,14 @@ repos:
|
||||||
- id: rust-linting
|
- id: rust-linting
|
||||||
name: Rust linting
|
name: Rust linting
|
||||||
description: Run cargo fmt on files included in the commit.
|
description: Run cargo fmt on files included in the commit.
|
||||||
entry: cargo +nightly fmt --
|
entry: cargo fmt --
|
||||||
pass_filenames: true
|
pass_filenames: true
|
||||||
types: [file, rust]
|
types: [file, rust]
|
||||||
language: system
|
language: system
|
||||||
- id: rust-clippy
|
- id: rust-clippy
|
||||||
name: Rust clippy
|
name: Rust clippy
|
||||||
description: Run cargo clippy on files included in the commit.
|
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
|
pass_filenames: false
|
||||||
types: [file, rust]
|
types: [file, rust]
|
||||||
language: system
|
language: system
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue