mirror of
https://github.com/uutils/coreutils
synced 2024-12-04 18:39:52 +00:00
Change the git pre-commit actions to *actually* use stable
This is in response to #6715: e8bb8dffa1
The pre-commit actions have a higher MSRV than the overall project (1.70.0),
so if 1.70.0 is the configured default, this lead to problems (#6730).
This commit fixes the situation by specifying 'stable', whatever that means on the user's system.
This commit is contained in:
parent
57557c6d7c
commit
caa4d1c57b
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 fmt --
|
entry: cargo +stable 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 clippy --workspace --all-targets --all-features --
|
entry: cargo +stable clippy --workspace --all-targets --all-features --
|
||||||
pass_filenames: false
|
pass_filenames: false
|
||||||
types: [file, rust]
|
types: [file, rust]
|
||||||
language: system
|
language: system
|
||||||
|
|
Loading…
Reference in a new issue