Update GitHub Actions - #1960
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1960 +/- ##
=======================================
Coverage 92.14% 92.14%
=======================================
Files 112 112
Lines 23233 23233
=======================================
Hits 21407 21407
Misses 1826 1826 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
📦 Cargo Bloat ComparisonBinary size change: +0.00% (25.8 MiB → 25.8 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.4 ± 0.1 | 2.2 | 2.8 | 1.06 ± 0.09 |
prek-head --version |
2.3 ± 0.2 | 2.1 | 2.7 | 1.00 |
prek list
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base list |
9.5 ± 0.5 | 8.7 | 11.3 | 1.01 ± 0.07 |
prek-head list |
9.4 ± 0.5 | 8.7 | 11.7 | 1.00 |
prek validate-config .pre-commit-config.yaml
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base validate-config .pre-commit-config.yaml |
3.2 ± 0.2 | 3.0 | 4.2 | 1.00 |
prek-head validate-config .pre-commit-config.yaml |
3.2 ± 0.1 | 3.0 | 3.5 | 1.02 ± 0.07 |
prek sample-config
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base sample-config |
2.5 ± 0.0 | 2.4 | 2.6 | 1.00 ± 0.04 |
prek-head sample-config |
2.5 ± 0.1 | 2.4 | 2.7 | 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 |
144.2 ± 4.1 | 139.3 | 152.2 | 1.00 |
prek-head run --all-files |
146.3 ± 3.9 | 140.0 | 152.4 | 1.01 ± 0.04 |
prek run --all-files (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --all-files |
147.5 ± 3.5 | 142.3 | 155.8 | 1.01 ± 0.04 |
prek-head run --all-files |
146.6 ± 3.9 | 139.5 | 152.9 | 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 |
146.1 ± 3.2 | 139.8 | 153.2 | 1.01 ± 0.04 |
prek-head run --all-files |
145.2 ± 4.6 | 135.0 | 154.1 | 1.00 |
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 |
25.2 ± 19.7 | 19.7 | 128.9 | 1.18 ± 0.92 |
prek-head run trailing-whitespace --all-files |
21.4 ± 1.1 | 20.1 | 23.5 | 1.00 |
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 |
28.4 ± 2.1 | 25.2 | 33.5 | 1.01 ± 0.13 |
prek-head run end-of-file-fixer --all-files |
28.1 ± 2.8 | 23.4 | 32.3 | 1.00 |
prek run check-json --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-json --all-files |
12.6 ± 0.9 | 11.5 | 14.5 | 1.06 ± 0.10 |
prek-head run check-json --all-files |
11.9 ± 0.8 | 10.9 | 13.4 | 1.00 |
prek run check-yaml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-yaml --all-files |
11.7 ± 0.9 | 10.8 | 13.6 | 1.00 |
prek-head run check-yaml --all-files |
11.8 ± 0.9 | 10.9 | 13.5 | 1.01 ± 0.11 |
prek run check-toml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-toml --all-files |
12.1 ± 0.9 | 10.8 | 14.0 | 1.01 ± 0.11 |
prek-head run check-toml --all-files |
11.9 ± 0.9 | 10.7 | 13.4 | 1.00 |
prek run check-xml --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-xml --all-files |
11.9 ± 0.9 | 10.8 | 13.7 | 1.00 |
prek-head run check-xml --all-files |
12.0 ± 0.9 | 10.9 | 14.0 | 1.01 ± 0.11 |
prek run detect-private-key --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run detect-private-key --all-files |
18.1 ± 1.7 | 15.4 | 22.6 | 1.00 |
prek-head run detect-private-key --all-files |
18.4 ± 1.8 | 16.0 | 22.4 | 1.02 ± 0.14 |
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 |
23.7 ± 2.0 | 20.1 | 28.2 | 1.01 ± 0.11 |
prek-head run fix-byte-order-marker --all-files |
23.5 ± 1.6 | 19.5 | 26.7 | 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 |
5.1 ± 0.1 | 5.0 | 5.2 | 1.05 ± 0.06 |
prek-head install-hooks |
4.9 ± 0.3 | 4.6 | 5.2 | 1.00 |
prek install-hooks (warm - with cache)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base install-hooks |
4.6 ± 0.0 | 4.6 | 4.7 | 1.00 |
prek-head install-hooks |
4.9 ± 0.1 | 4.8 | 5.0 | 1.06 ± 0.02 |
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 |
50.1 ± 1.5 | 47.4 | 53.2 | 1.00 |
prek-head run |
51.5 ± 2.5 | 47.5 | 60.1 | 1.03 ± 0.06 |
prek run --files '*.json' (specific file type)
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run --files '*.json' |
9.7 ± 0.8 | 8.5 | 12.1 | 1.05 ± 0.10 |
prek-head run --files '*.json' |
9.3 ± 0.4 | 8.5 | 9.8 | 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 |
13.5 ± 0.5 | 12.6 | 14.5 | 1.00 |
prek-head run --dry-run --all-files |
13.8 ± 0.7 | 12.7 | 15.5 | 1.03 ± 0.07 |
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 |
13.7 ± 0.6 | 12.8 | 14.4 | 1.00 ± 0.06 |
prek-head run check-hooks-apply --all-files |
13.7 ± 0.6 | 12.9 | 14.8 | 1.00 |
prek run check-useless-excludes --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run check-useless-excludes --all-files |
12.2 ± 0.5 | 11.5 | 12.8 | 1.00 |
prek-head run check-useless-excludes --all-files |
12.7 ± 0.5 | 11.6 | 13.6 | 1.04 ± 0.06 |
prek run identity --all-files
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|---|---|---|---|---|
prek-base run identity --all-files |
10.7 ± 0.4 | 10.1 | 11.2 | 1.00 |
prek-head run identity --all-files |
10.8 ± 0.5 | 10.0 | 11.7 | 1.01 ± 0.06 |
This PR contains the following updates:
v1.50.1→v1.51.0v7.0.0→v7.0.1v7.0.0→v7.1.0v2.10.3→v2.10.4v2.11.0v8.1.0→v8.1.1v1.299.0→v1.301.0v1.302.0v2.73.0→v2.75.7v2.75.18(+10)Release Notes
PyO3/maturin-action (PyO3/maturin-action)
v1.51.0Compare Source
What's Changed
New Contributors
Full Changelog: PyO3/maturin-action@v1.50.1...v1.51.0
actions/upload-artifact (actions/upload-artifact)
v7.0.1Compare Source
What's Changed
Full Changelog: actions/upload-artifact@v7...v7.0.1
docker/build-push-action (docker/build-push-action)
v7.1.0Compare Source
Full Changelog: docker/build-push-action@v7.0.0...v7.1.0
haskell-actions/setup (haskell-actions/setup)
v2.10.4Compare Source
Add GHC 9.12.4 and Stack 3.9.3
What's Changed
Full Changelog: haskell-actions/setup@v2.10.3...v2.10.4
peter-evans/create-pull-request (peter-evans/create-pull-request)
v8.1.1: Create Pull Request v8.1.1Compare Source
What's Changed
Full Changelog: peter-evans/create-pull-request@v8.1.0...v8.1.1
ruby/setup-ruby (ruby/setup-ruby)
v1.301.0Compare Source
What's Changed
Full Changelog: ruby/setup-ruby@v1.300.0...v1.301.0
v1.300.0Compare Source
What's Changed
Full Changelog: ruby/setup-ruby@v1.299.0...v1.300.0
taiki-e/install-action (taiki-e/install-action)
v2.75.7Compare Source
Initial release
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.