Skip to content

docs: add a recipe for caching dependencies - #62

Open
davereid wants to merge 2 commits into
mainfrom
docs/cache-dependencies
Open

davereid wants to merge 2 commits into
mainfrom
docs/cache-dependencies

Conversation

@davereid

@davereid davereid commented Nov 15, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Adds a "Caching dependencies" recipe to the README, following up on the Composer caching discussion in #15.

  • Points to davereid/github-action-cache-ddev, which caches the Composer, npm, Yarn, Corepack and Node.js caches DDEV already keeps, by mounting runner directories over them
  • Example workflow: setup-ddev with autostart: false, then the cache action, then ddev start
  • Notes that caching DDEV's Docker images doesn't help

This replaces #63, which added a cacheDependencies input to this action and was closed in favor of a separate action. Related to #15, which stays open for Docker image caching.

Remaining tasks

  • Release v1 of davereid/github-action-cache-ddev, which the example uses

Testing instructions

  • Read the new "Caching dependencies" section under "Common recipes" and check that it renders correctly.

AI disclosure

Claude Code (Claude Opus 5.5) drafted the recipe and this description, and wrote the separate action from my earlier Composer example in #15. I decided to move caching into its own action using DDEV's own caches, and reviewed the changes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@davereid davereid mentioned this pull request Nov 15, 2026
1 of 2 tasks
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant