Commit 1adaebc
committed
ci: update
For a while when we run the git hooks, on push and commit,
the following warning was displayed:
```
[WARNING] hook id `clang-format` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] hook id `clippy` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] hook id `nixfmt-rfc-style` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] hook id `rustfmt` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
[WARNING] top-level `default_stages` uses deprecated stage names (push) which will be removed in a future version. run: `pre-commit migrate-config` to automatically fix this.
```
tl;dr; the `push` stage was renamed to `pre-push` in pre-commit `4.0.0`.
See also:
- <https://github.com/pre-commit/pre-commit/releases/tag/v4.0.0>
- <pre-commit/pre-commit#2732>
- <pre-commit/pre-commit#3312>git-hooks.nix flake and migrate push hook to pre-push
1 parent 1e89f5c commit 1adaebc
2 files changed
Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments