ci: Update prefligit to prek #929

Merged
tcpipuk merged 5 commits from tom/prek-was-prefligit into main 2025-08-17 16:33:06 +00:00

5 commits

Author SHA1 Message Date
731761f0fc 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
2025-08-17 15:08:44 +00:00
4524a00fc6 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.
2025-08-17 16:00:42 +01:00
b14a4d470b 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
2025-08-17 14:16:35 +00:00
5d1f141882 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.
2025-08-17 15:13:02 +01:00
b447cfff56 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.
2025-08-17 15:11:38 +01:00