diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e4147d2..b18a809 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +fail_fast: true + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.6.0 @@ -31,7 +33,8 @@ repos: entry: cargo clippy language: system args: ["--", "-D", "warnings"] - types: [rust] + types: [file] + files: (\.rs|Cargo.lock)$ pass_filenames: false - id: audit @@ -39,7 +42,8 @@ repos: description: Audit packages entry: cargo audit language: system - types: [rust] + types: [file] + files: (\.rs|Cargo.lock)$ pass_filenames: false - id: test @@ -48,7 +52,8 @@ repos: entry: cargo test language: system args: ["--workspace"] - types: [rust] + types: [file] + files: (\.rs|Cargo.lock)$ pass_filenames: false - repo: https://github.com/pryorda/dockerfilelint-precommit-hooks