chore(deps): update actions/cache action to v5#117
Merged
Conversation
Deploying archgate-cli with
|
| Latest commit: |
a5ff79e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5f079f00.archgate-cli.pages.dev |
| Branch Preview URL: | https://renovate-actions-cache-5-x.archgate-cli.pages.dev |
rhuanbarreto
added a commit
that referenced
this pull request
Jun 9, 2026
…#400) ## Summary - **Fix extraction target** — The plugins repo [PR #117](archgate/plugins#117) changed the opencode tarball from flat `archgate-*.md` files to nested `agents/` + `skills/` directories. The CLI was extracting into `opencodeAgentsDir()` (`~/.config/opencode/agents/`), which double-nested agents and misplaced skills under `agents/skills/`. Now extracts into `opencodeConfigDir()` (`~/.config/opencode/`) so the tarball's directories land correctly. - **Clean stale files before extraction** — `cleanArchgateFiles()` removes old `archgate-*` agents and skill directories before extracting, preventing dangling files when components are renamed or removed upstream. Scoped to `archgate-*` entries only — user files are untouched. - **DRY Cursor + opencode installs** — Extracted `installEditorPluginBundle()` shared by both editors: ensure `agents/` + `skills/` dirs → clean old archgate files → download and extract tarball. Editor-specific post-steps (Cursor hooks merge, opencode settings) remain in each editor's function. ## Test plan - [x] `bun run validate` passes (lint, typecheck, format, 1256 tests, 39/39 ADR checks, knip, build) - [ ] Manual: `archgate plugin install --editor opencode` extracts agents to `~/.config/opencode/agents/` and skills to `~/.config/opencode/skills/` - [ ] Manual: Re-running install cleans old files before extracting (no dangling artifacts) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added Git hooks setup guide (config-based pre-commit hooks for lint/typecheck/format-check and pre-push validation); updated editor plugin installation docs and checklist. * **Bug Fixes** * Installer now removes stale plugin artifacts during installation for cleaner updates and correct extraction targets. * **Refactor** * Consolidated plugin installation into a unified bundle-based installer and standardized success messaging. * **Tests** * Added tests covering plugin install cleanup and extraction behavior. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Rhuan Barreto <rhuan@barreto.work>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v4→v5Release Notes
actions/cache (actions/cache)
v5Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.