diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fdcd5dd..43cd8bd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,12 +3,15 @@ ci: autoupdate_branch: 'trunk' autofix_prs: false +default_language_version: + rust: 1.78.0 + repos: -- repo: https://github.com/backplane/pre-commit-rust-hooks - rev: v1.1.0 +- repo: https://github.com/Young-Naive-Simple/pre-commit-rust/ + rev: 3a8de64acc969112746489e5ec1f0b13e00d871e hooks: - id: fmt - - id: check + - id: cargo-check - id: clippy args: - --all-targets diff --git a/src/cli/submit.rs b/src/cli/submit.rs index 4774cbc..0d9f1ee 100644 --- a/src/cli/submit.rs +++ b/src/cli/submit.rs @@ -111,7 +111,7 @@ pub fn submit( } } - action_groups.push((&action, groups)); + action_groups.push((action, groups)); } if matching_action_count == 0 {