Update GitHub Actions - #2558
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2558 +/- ##
==========================================
- Coverage 93.65% 93.65% -0.01%
==========================================
Files 135 135
Lines 29016 29016
==========================================
- Hits 27176 27175 -1
- Misses 1840 1841 +1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
📦 Cargo Bloat ComparisonBinary size change: +0.00% (30.3 MiB → 30.3 MiB) Expand for cargo-bloat outputHead Branch ResultsBase Branch Results |
⚡️ Hyperfine BenchmarksSummary: 0 regressions, 0 improvements above the 10% threshold. Environment
CLI CommandsBenchmarking basic commands in the main repo:
|
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base --version |
2.2 ± 0.2 | 2.1 | 3.6 | 1.04 ± 0.09 |
prek-head --version |
2.1 ± 0.1 | 2.0 | 2.5 | 1.00 |
prek list
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base list |
9.0 ± 0.1 | 8.8 | 9.4 | 1.00 |
prek-head list |
9.0 ± 0.1 | 8.8 | 9.5 | 1.00 ± 0.02 |
prek validate-config .pre-commit-config.yaml
⏭️ Skipped: .pre-commit-config.yaml not found
prek sample-config
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base sample-config |
2.5 ± 0.0 | 2.4 | 2.6 | 1.01 ± 0.03 |
prek-head sample-config |
2.5 ± 0.0 | 2.4 | 2.6 | 1.00 |
Cold vs Warm Runs
Comparing first run (cold) vs subsequent runs (warm cache):
prek run --all-files (cold - no cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
38.8 ± 1.6 | 36.1 | 42.0 | 1.00 |
prek-head run --all-files |
39.1 ± 1.2 | 37.7 | 41.3 | 1.01 ± 0.05 |
prek run --all-files (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
39.0 ± 1.0 | 37.5 | 40.9 | 1.00 ± 0.04 |
prek-head run --all-files |
38.9 ± 1.3 | 35.7 | 40.7 | 1.00 |
Full Hook Suite
Running the builtin hook suite on the benchmark workspace:
prek run --all-files (full builtin hook suite)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
38.9 ± 1.3 | 36.7 | 42.6 | 1.00 |
prek-head run --all-files |
39.0 ± 0.9 | 37.1 | 40.9 | 1.00 ± 0.04 |
Individual Hook Performance
Benchmarking each hook individually on the test repo:
prek run trailing-whitespace --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run trailing-whitespace --all-files |
13.0 ± 0.4 | 12.5 | 14.0 | 1.00 |
prek-head run trailing-whitespace --all-files |
13.2 ± 0.4 | 12.5 | 14.0 | 1.01 ± 0.04 |
prek run end-of-file-fixer --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run end-of-file-fixer --all-files |
11.1 ± 0.4 | 10.4 | 12.0 | 1.00 |
prek-head run end-of-file-fixer --all-files |
11.4 ± 1.3 | 10.3 | 17.1 | 1.03 ± 0.13 |
prek run check-json --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-json --all-files |
7.9 ± 0.3 | 7.5 | 8.4 | 1.00 |
prek-head run check-json --all-files |
7.9 ± 0.2 | 7.4 | 8.5 | 1.00 ± 0.04 |
prek run check-yaml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-yaml --all-files |
7.6 ± 0.1 | 7.4 | 7.8 | 1.00 ± 0.02 |
prek-head run check-yaml --all-files |
7.6 ± 0.1 | 7.4 | 7.8 | 1.00 |
prek run check-toml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-toml --all-files |
7.7 ± 0.2 | 7.4 | 8.4 | 1.00 |
prek-head run check-toml --all-files |
7.7 ± 0.2 | 7.5 | 8.2 | 1.01 ± 0.04 |
prek run check-xml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-xml --all-files |
7.7 ± 0.5 | 7.1 | 8.8 | 1.02 ± 0.08 |
prek-head run check-xml --all-files |
7.6 ± 0.4 | 7.3 | 9.1 | 1.00 |
prek run detect-private-key --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run detect-private-key --all-files |
11.2 ± 0.7 | 10.2 | 13.5 | 1.03 ± 0.08 |
prek-head run detect-private-key --all-files |
10.9 ± 0.5 | 10.0 | 12.1 | 1.00 |
prek run fix-byte-order-marker --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run fix-byte-order-marker --all-files |
13.0 ± 0.9 | 11.7 | 16.4 | 1.00 ± 0.09 |
prek-head run fix-byte-order-marker --all-files |
13.0 ± 0.7 | 12.0 | 14.6 | 1.00 |
Installation Performance
Benchmarking hook installation (fast path hooks skip Python setup):
prek install-hooks (cold - no cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base install-hooks |
4.5 ± 0.1 | 4.4 | 4.6 | 1.01 ± 0.03 |
prek-head install-hooks |
4.5 ± 0.1 | 4.3 | 4.6 | 1.00 |
prek install-hooks (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base install-hooks |
4.4 ± 0.1 | 4.3 | 4.5 | 1.00 |
prek-head install-hooks |
4.6 ± 0.4 | 4.3 | 5.4 | 1.05 ± 0.10 |
File Filtering/Scoping Performance
Testing different file selection modes:
prek run (staged files only)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run |
23.7 ± 0.5 | 23.1 | 24.7 | 1.00 |
prek-head run |
24.1 ± 0.3 | 23.4 | 24.6 | 1.01 ± 0.02 |
prek run --files '*.json' (specific file type)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --files '*.json' |
5.2 ± 0.1 | 5.1 | 5.4 | 1.02 ± 0.02 |
prek-head run --files '*.json' |
5.1 ± 0.1 | 5.0 | 5.2 | 1.00 |
Workspace Discovery & Initialization
Benchmarking hook discovery and initialization overhead:
prek run --dry-run --all-files (measures init overhead)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --dry-run --all-files |
6.8 ± 0.1 | 6.7 | 7.0 | 1.00 |
prek-head run --dry-run --all-files |
6.8 ± 0.1 | 6.7 | 7.3 | 1.00 ± 0.02 |
Meta Hooks Performance
Benchmarking meta hooks separately:
prek run check-hooks-apply --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-hooks-apply --all-files |
7.9 ± 0.1 | 7.7 | 8.1 | 1.00 |
prek-head run check-hooks-apply --all-files |
8.1 ± 0.1 | 7.8 | 8.2 | 1.02 ± 0.02 |
prek run check-useless-excludes --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-useless-excludes --all-files |
8.1 ± 0.1 | 7.9 | 8.2 | 1.00 ± 0.02 |
prek-head run check-useless-excludes --all-files |
8.1 ± 0.1 | 7.9 | 8.2 | 1.00 |
prek run identity --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run identity --all-files |
7.0 ± 0.1 | 6.9 | 7.1 | 1.00 ± 0.01 |
prek-head run identity --all-files |
7.0 ± 0.1 | 6.9 | 7.1 | 1.00 |
This PR contains the following updates:
v2.9.1→v2.9.2v4.2.1→v4.2.2v3.0.0→v3.0.2v1.7.2→v1.8.0v2.11.0→v2.12.0v3.1.0→v3.2.1v2.85.7→v2.85.11v2.86.1(+4)Release Notes
Swatinem/rust-cache (Swatinem/rust-cache)
v2.9.2Compare Source
What's Changed
$CARGO_HOME/binon restore instead of relying oncargo installmetadata by @clechasseur in #325New Contributors
Full Changelog: Swatinem/rust-cache@v2.9.1...v2.9.2
actions/attest (actions/attest)
v4.2.2Compare Source
What's Changed
Full Changelog: actions/attest@v4.2.1...v4.2.2
coursier/setup-action (coursier/setup-action)
v3.0.2: 3.0.2Compare Source
What's Changed
Updates / maintenance
Full Changelog: coursier/setup-action@v3...v3.0.2
v3.0.1: 3.0.1Compare Source
What's Changed
launcherinput to support JVM-based Coursier launchers by @alexarchambault with @Copilot in #1132Updates / maintenance
New Contributors
Full Changelog: coursier/setup-action@v3...v3.0.1
dart-lang/setup-dart (dart-lang/setup-dart)
v1.8.0Compare Source
dart analyzeto automatically create inline annotations on GitHub pull requests.publish.ymlreusable workflow to referencesetup-dart@v1.7.2(running on Node 24) (#188).actions/checkoutv7).undicito6.27.0and update npm dependencies.haskell-actions/setup (haskell-actions/setup)
v2.12.0Compare Source
v2.12Compare Source
mamba-org/setup-micromamba (mamba-org/setup-micromamba)
v3.2.1Compare Source
What's Changed
Bug fixes
Full Changelog: mamba-org/setup-micromamba@v3.2.0...v3.2.1
v3.2.0Compare Source
What's Changed
New features
Full Changelog: mamba-org/setup-micromamba@v3.1.0...v3.2.0
taiki-e/install-action (taiki-e/install-action)
v2.85.11: 2.85.11Compare Source
Update
zola@latestto 0.23.2.Update
wasm-bindgen@latestto 0.2.127.Update
uv@latestto 0.12.3.Update
osv-scanner@latestto 2.5.0.Update
mise@latestto 2026.8.3.Update
kingfisher@latestto 1.112.0.Update
editorconfig-checker@latestto 3.10.0.v2.85.10: 2.85.10Compare Source
Update
uv@latestto 0.12.2.Update
tombi@latestto 1.2.7.Update
cosign@latestto 3.1.3.Update
coreutils@latestto 0.10.0.Update
cargo-rdme@latestto 2.2.0.Update
cargo-crap@latestto 0.4.3.v2.85.9: 2.85.9Compare Source
Update
zola@latestto 0.23.1.Update
wild@latestto 0.10.0.Update
mise@latestto 2026.8.2.Update
just@latestto 1.58.0.Update
jaq@latestto 3.1.1.Update
cargo-nextest@latestto 0.9.143.Update
cargo-crap@latestto 0.4.2.Update
biome@latestto 2.5.7.v2.85.8: 2.85.8Compare Source
Update
zizmor@latestto 1.29.0.Update
typos@latestto 1.49.0.Update
trivy@latestto 0.73.0.Update
tombi@latestto 1.2.6.Update
prek@latestto 0.4.12.Update
mise@latestto 2026.8.1.Update
convco@latestto 0.7.1.Update
cargo-semver-checks@latestto 0.50.0.Update
cargo-crap@latestto 0.4.1.Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.