Tom Foster
|
a08c6aacc5
|
ci: Tidy CI pipeline for readability and performance
Pipeline Modernisation:
- Update prefligit to prek (same project, renamed to avoid
typosquatting)
- Replace custom rust-toolchain action with direct uvx rustup
invocation
- Remove dependency on install scripts in favour of uvx tool
execution
- Make sccache conditional on GH_APP_ID and GH_APP_PRIVATE_KEY
availability
Workflow Restructuring:
- Rename workflows for improved clarity:
* rust-checks.yml → ci-checks.yml (consolidates Rust + prek)
* element.yml → deploy-element.yml
* documentation.yml → deploy-docs.yml
* release-image.yml → release-builds.yml (Docker + binaries)
* mirror-images.yml → docker-mirror.yml
- Delete obsolete prefligit-checks.yml (merged into ci-checks.yml)
- Combine format and prek checks into single fast-checks job
Cache Strategy Improvements (release-builds.yml):
- Add restore-keys to Rust registry and cargo target caches
- Include Cargo.toml files in cargo-target cache key
- Consolidate separate apt-cache and apt-lib steps into single step
- Version APT cache with Dockerfile hash instead of static keys
- Add platform-specific Docker buildcache tags
- Simplify Rust registry paths (remove checkouts/src subdirs)
CI Execution Improvements:
- Add uv cache for faster uvx tool invocations (prek, rustup)
- Enable concurrency control with cancel-in-progress
- Fix BOM handling in pre-commit
Dependency Management:
- Add renovate.yml workflow for scheduled dependency checking
- Configure renovate.json to monitor .forgejo/ and .github/ dirs
- Group non-major GitHub Actions updates into single PRs
- Set PR limits: 3 concurrent, 2 per hour
|
2025-08-14 12:40:41 +01:00 |
|
strawberry
|
42a42b24a9
|
renovate: exclude rust deps we forked / cant easily bump or upgrade
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-08-30 12:57:50 -04:00 |
|
strawberry
|
d3db0ad4e2
|
renovate: label PRs as dependencies and github_actions
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-05-25 22:28:43 -04:00 |
|
strawberry
|
aa77a31dfc
|
stop excluding http deps from renovate !!!!
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-26 02:03:40 -04:00 |
|
strawberry
|
5b31cdf1b5
|
ignore basically all the http dependencies we cant upgrade to
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-02-14 09:51:11 -05:00 |
|
Samuel Meenzen
|
8e03a79d35
|
feat: renovate all the way
Because dependabot is lazy on weekends.
|
2024-02-14 09:42:00 -05:00 |
|
renovate[bot]
|
4db66496a8
|
chore: Configure Renovate (#15)
* Add renovate.json
* remove default preset, add nix, allow non-office hours
Signed-off-by: strawberry <strawberry@puppygock.gay>
* enable lockfile maintenance
Signed-off-by: strawberry <strawberry@puppygock.gay>
* will this make nix work
Signed-off-by: strawberry <strawberry@puppygock.gay>
---------
Signed-off-by: strawberry <strawberry@puppygock.gay>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: strawberry <strawberry@puppygock.gay>
|
2023-12-20 22:26:36 -05:00 |
|