Skip to content

Upgrade cache to v6.1.0 and pin its commit SHA - #143

Merged
crohr merged 2 commits into
mainfrom
auto/pin-cache-action
Sep 10, 2026
Merged

Upgrade cache to v6.1.0 and pin its commit SHA#143
crohr merged 2 commits into
mainfrom
auto/pin-cache-action

Conversation

@crohr

@crohr crohr commented Sep 10, 2026

Copy link
Copy Markdown
Member

Context

Fixes #141. The issue refers to the v6 composite action on main; the v5 Docker action does not use actions/cache.

Root cause

The SSH key cache step uses the mutable actions/cache@v4 tag, allowing the dependency to change independently of the PullPreview revision.

What changed

Upgrade to the latest stable cache release, v6.1.0, pinned to 55cc8345863c7cc4c66a329aec7e433d2d1c52a9. Keep the release version in a comment for future updates.

This release uses Node.js 24 and requires Actions Runner 2.327.1 or newer. Self-hosted runners must meet that requirement.

Validation

  • Verified GitHub's latest stable release and its tag SHA, plus the pinned action's Node.js 24 runtime metadata.
  • MISE_TRUSTED_CONFIG_PATHS=/tmp/pullpreview-pin-cache make test passed using Go 1.25.1, including the wiki submodule check.
  • git diff --check passed.
  • No Go source or bundled binary changes.
  • Applied pullpreview: e2e run passed for 13dfd12f8464a9fb533f64cfc540497a626b21a1 on Lightsail and Hetzner.
  • Lightsail initial deployment and redeployment assertions passed, including HTTPS and DB persistence. Independently checked the final response: Hello World Deploy 2, seed_count=1, seed_label=persisted.
  • Independently checked Hetzner HTTPS: Hello World Deploy 1, seed_count=1, seed_label=persisted.

@crohr crohr changed the title Pin the cache action to its v4.3.0 commit Upgrade cache to v6.1.0 and pin its commit SHA Sep 10, 2026
@crohr crohr added the pullpreview This label allows to start a PullPreview environment label Sep 10, 2026
@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying action with PullPreview

Field Value
Latest commit 13dfd12
Job deploy_smoke_1
Status 🗑️ Preview destroyed
Preview URL Destroyed

View logs

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying action with PullPreview

Field Value
Latest commit 13dfd12
Job deploy_smoke_hetzner
Status 🗑️ Preview destroyed
Preview URL Destroyed

View logs

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploying action with PullPreview

Field Value
Latest commit 13dfd12
Job deploy_smoke_2
Status ✅ Deploy successful
Preview URL https://ip-44-202-93-192.my.preview.run:443

View logs

@crohr
crohr merged commit 25a94c9 into main Sep 10, 2026
23 checks passed
@crohr
crohr deleted the auto/pin-cache-action branch September 10, 2026 07:37
@github-actions github-actions Bot removed the pullpreview This label allows to start a PullPreview environment label Sep 10, 2026
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.

Would it be possible to pin this to a spceific SHA?

1 participant