Skip to content

Commit

Permalink
Use rust-enabled pre-commit configuration.
Browse files Browse the repository at this point in the history
This should work on pre-commit.ci.
  • Loading branch information
joaander committed May 15, 2024
1 parent c53f0b8 commit d70c06d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/cli/submit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ pub fn submit<W: Write>(
}
}

action_groups.push((&action, groups));
action_groups.push((action, groups));
}

if matching_action_count == 0 {
Expand Down

0 comments on commit d70c06d

Please sign in to comment.