Skip to content

Commit

Permalink
change sqlx to check
Browse files Browse the repository at this point in the history
  • Loading branch information
ShockleyJE committed May 5, 2023
1 parent ad0de9e commit b4c81d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
description: Run tests with cargo
entry: cargo test
args: [""]
always_run: true
pass_filenames: false
files: \.rs$
language: system
verbose: false
- id: sqlx-check-workspace
name: sqlx check workspace
description: Check a merged sqlx offline data file for a workspace
entry: cargo sqlx check
args: ["--check"]
always_run: true
- id: cargo-sqlx
name: cargo sqlx
description: Use sqlx CLI
entry: cargo sqlx
args: [""]
files: \.rs$
pass_filenames: false
language: system
verbose: false
14 changes: 7 additions & 7 deletions hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
description: Run tests with cargo
entry: cargo test
args: [""]
always_run: true
pass_filenames: false
files: \.rs$
language: system
verbose: false
- id: sqlx-check-workspace
name: sqlx check workspace
description: Check a merged sqlx offline data file for a workspace
entry: cargo sqlx check
args: ["--check"]
always_run: true
- id: cargo-sqlx
name: cargo sqlx
description: Use sqlx CLI
entry: cargo sqlx
args: [""]
files: \.rs$
pass_filenames: false
language: system
verbose: false

0 comments on commit b4c81d6

Please sign in to comment.