1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #6754 from BenWiederhake/dev-stable-precommit

Change the git pre-commit actions to *actually* use stable
This commit is contained in:
Sylvestre Ledru 2024-09-30 23:35:00 +02:00 committed by GitHub
commit 1f0b519ee1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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