Skip to content

Commit

Permalink
feat: use cargo +nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
futuretech6 authored Apr 19, 2023
1 parent eeee35a commit ea65e5d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
- id: fmt
name: fmt
description: Format files with cargo fmt.
entry: cargo fmt
entry: cargo +nightly fmt
language: system
types: [rust]
args: ["--"]
- id: cargo-check
name: cargo check
description: Check the package for errors.
entry: cargo check
entry: cargo +nightly check
language: system
types: [rust]
pass_filenames: false
- id: clippy
name: clippy
description: Lint rust sources
entry: cargo clippy
entry: cargo +nightly clippy
language: system
args: ["--", "-D", "warnings"]
types: [rust]
Expand Down

0 comments on commit ea65e5d

Please sign in to comment.