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
Owner

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 one of the options 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, and users can install the new version locally with 'uvx prek install' or one of the other methods from the repo.

The prefligit project has been renamed to [prek](https://github.com/j178/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 one of the options 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, and users can install the new version locally with 'uvx prek install' or one of the other methods from the repo.
tcpipuk self-assigned this 2025-08-17 14:16:22 +00:00
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.
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
5d1f141882
Rename workflow file to match the updated tool name.
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
b14a4d470b
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
4524a00fc6
Now using prek directly via uvx, this custom action is no longer needed.
Jade approved these changes 2025-08-17 15:08:27 +00:00
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
731761f0fc
tcpipuk deleted branch tom/prek-was-prefligit 2025-08-17 16:33:06 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#929
No description provided.