diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index f14a629..22bec7d 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,3 +5,10 @@ language: system files: \.rs$ args: [] +- id: cargo-check + name: cargo check + description: Check the package for errors. + entry: cargo check + language: system + files: \.rs$ + pass_filenames: false diff --git a/hooks.yaml b/hooks.yaml index f14a629..22bec7d 100644 --- a/hooks.yaml +++ b/hooks.yaml @@ -5,3 +5,10 @@ language: system files: \.rs$ args: [] +- id: cargo-check + name: cargo check + description: Check the package for errors. + entry: cargo check + language: system + files: \.rs$ + pass_filenames: false