Commit 98438a7
authored
Don't install Rust before running pre-commit in CI (astral-sh#17050)
Following
astral-sh@29573da,
it doesn't look to me like any of the pre-commit hooks run in CI here
are Rust-based:
- `cargo fmt` is Rust-based but it's explicitly skipped as part of this
job and run as a separate CI job:
https://github.com/astral-sh/ruff/blob/93052331b07e8cbc84660340019db4f582fb4ad1/.pre-commit-config.yaml#L124-L125
- The `typos` hook is Rust-based, but according to
https://github.com/crate-ci/typos/blob/master/docs/pre-commit.md
pre-commit should install a built binary rather than building the binary
from source
As such, I think this step in the workflow is just taking up 15s of CI
time and not actually speeding up pre-commit at all1 parent 9305233 commit 98438a7
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
651 | 651 | | |
652 | 652 | | |
653 | 653 | | |
654 | | - | |
655 | | - | |
656 | | - | |
657 | 654 | | |
658 | 655 | | |
659 | 656 | | |
| |||
0 commit comments