Add scoped CI dependency/build caches #1

Open
camila wants to merge 1 commit from camila/actions-cache into main
Collaborator

Summary

setup-uv@v5 lacks save-cache, so enable-cache:false explicitly and separate restore/save of uv cache dir keyed repo+OS+arch+uv version+hash(uv.lock,pyproject.toml); save only main push. No .venv, no Ruff cache, no prune (prune --ci would drop the downloaded wheels).

Verification

  • YAML parsing, git diff --check, upstream action input/schema inspection passed.
  • Normalized actionlint: no new findings.
  • Independent review: no confirmed blocking defects.

Deployment / limits

Runner cache enablement is being implemented separately. No cache hit or speedup is claimed yet. Merging preserves existing main deployment/publish triggers; PR does not deploy. Cold/warm verification remains pending.

Operational caveats

  • Workflow triggers on push to every branch: pushing camila/actions-cache WILL run this lint job (restore-only, harmless).
## Summary setup-uv@v5 lacks save-cache, so enable-cache:false explicitly and separate restore/save of `uv cache dir` keyed repo+OS+arch+uv version+hash(uv.lock,pyproject.toml); save only main push. No .venv, no Ruff cache, no prune (prune --ci would drop the downloaded wheels). ## Verification - YAML parsing, git diff --check, upstream action input/schema inspection passed. - Normalized actionlint: no new findings. - Independent review: no confirmed blocking defects. ## Deployment / limits Runner cache enablement is being implemented separately. No cache hit or speedup is claimed yet. Merging preserves existing main deployment/publish triggers; PR does not deploy. Cold/warm verification remains pending. ## Operational caveats - Workflow triggers on push to every branch: pushing camila/actions-cache WILL run this lint job (restore-only, harmless).
Cache CI dependencies and build layers with scoped keys
All checks were successful
Lint / ruff (push) Successful in 57s
fbaac41450
All checks were successful
Lint / ruff (push) Successful in 57s
This pull request has changes conflicting with the target branch.
  • .forgejo/workflows/lint.yml
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin "camila/actions-cache:camila/actions-cache"
git switch "camila/actions-cache"

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch "main"
git merge --no-ff "camila/actions-cache"
git switch "camila/actions-cache"
git rebase "main"
git switch "main"
git merge --ff-only "camila/actions-cache"
git switch "camila/actions-cache"
git rebase "main"
git switch "main"
git merge --no-ff "camila/actions-cache"
git switch "main"
git merge --squash "camila/actions-cache"
git switch "main"
git merge --ff-only "camila/actions-cache"
git switch "main"
git merge "camila/actions-cache"
git push origin "main"
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
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
exler/retheia!1
No description provided.