ci: Update prefligit to prek #929
Merged
tcpipuk
merged 5 commits from 2025-08-17 16:33:06 +00:00
tom/prek-was-prefligit into main 2025-08-17
Merge branch 'main' into tom/prek-was-prefligit
Some checks failed
Documentation / Build and Deploy Documentation (pull_request) Successful in 34s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 12s
Documentation / Build and Deploy Documentation (push) Successful in 36s
Checks / Prek / Pre-commit & Formatting (push) Successful in 15s
Release Docker Image / define-variables (push) Successful in 6s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been cancelled
Release Docker Image / merge (push) Has been cancelled
Checks / Rust / Cargo Test (push) Has been cancelled
Checks / Rust / Format (push) Has been cancelled
Checks / Rust / Clippy (push) Has been cancelled
chore(ci): Remove obsolete prefligit action
Some checks failed
Release Docker Image / merge (push) Blocked by required conditions
Checks / Rust / Clippy (push) Waiting to run
Checks / Rust / Cargo Test (push) Waiting to run
Release Docker Image / define-variables (push) Successful in 3s
Checks / Prek / Pre-commit & Formatting (push) Successful in 11s
Checks / Rust / Format (push) Successful in 54s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 16s
Documentation / Build and Deploy Documentation (pull_request) Successful in 36s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been cancelled
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
Now using prek directly via uvx, this custom action is no longer needed.
Merge branch 'main' into tom/prek-was-prefligit
All checks were successful
Checks / Prek / Pre-commit & Formatting (push) Successful in 25s
Release Docker Image / define-variables (push) Successful in 4s
Checks / Rust / Format (push) Successful in 49s
Documentation / Build and Deploy Documentation (pull_request) Successful in 41s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 22s
Checks / Rust / Clippy (push) Successful in 3m29s
Checks / Rust / Cargo Test (push) Successful in 3m52s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 14m23s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 10m19s
Release Docker Image / merge (push) Successful in 20s
ci: Rename prefligit-checks.yml to prek-checks.yml
Some checks failed
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Blocked by required conditions
Release Docker Image / merge (push) Blocked by required conditions
Release Docker Image / define-variables (push) Successful in 3s
Checks / Prek / Pre-commit & Formatting (push) Successful in 17s
Checks / Rust / Format (push) Successful in 56s
Checks / Rust / Cargo Test (push) Has been cancelled
Checks / Rust / Clippy (push) Has been cancelled
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
Documentation / Build and Deploy Documentation (pull_request) Successful in 33s
Checks / Prek / Pre-commit & Formatting (pull_request) Successful in 17s
Rename workflow file to match the updated tool name.
ci: Update prefligit to prek
The prefligit project has been renamed to prek due to typosquatting concerns. This updates our CI to use the new name and recommended installation method via uv, which significantly reduces setup time compared to cargo install and includes automatic caching. - Replace outdated static prefligit action with direct prek invocation - Use uv as recommended by upstream: https://github.com/j178/prek - Update check-byte-order-marker to fix-byte-order-marker (deprecated) - Simplify workflow by removing unused ref calculations The same .pre-commit-config.yaml works unchanged. Developers can install locally with 'uvx prek install' or other methods from the repo.