Skip to content

fix(ci): bump golangci-lint to v2.4 + migrate buildkit-cache-dance to cache-map#34

Merged
ysyneu merged 2 commits intomainfrom
chore/bump-golangci-lint-v2
Apr 24, 2026
Merged

fix(ci): bump golangci-lint to v2.4 + migrate buildkit-cache-dance to cache-map#34
ysyneu merged 2 commits intomainfrom
chore/bump-golangci-lint-v2

Conversation

@ysyneu
Copy link
Copy Markdown
Collaborator

@ysyneu ysyneu commented Apr 24, 2026

Two CI fixes bundled because both block the rest of the open PRs:

1. Bump golangci-lint-action v2.1 → v2.4

2. Migrate buildkit-cache-dance to v3 cache-map syntax

  • v3 deprecated cache-source; without explicit cache-map, v3 attempts mkdir /var/cache/apk on the runner and fails with EACCES
  • Docker Publish has been broken on every main commit since chore(ci): bump reproducible-containers/buildkit-cache-dance from 2.1.4 to 3.3.2 #21 landed
  • New config explicitly maps the go-build-cache directory to /root/.cache/go-build inside the container, with skip-extraction tied to the cache-hit output

Test plan

🤖 Generated with Claude Code

ysyneu and others added 2 commits April 24, 2026 09:58
Pin v2.1 (binary built with Go 1.24) refused to load configs targeting
Go 1.25.0, blocking dependabot PRs #28 and #29 which bump go.mod's go
directive. v2.4 is built with Go 1.25 and lints both 1.24 and 1.25
targets.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…-map)

v3 deprecated cache-source and now requires explicit cache-map. Without
this, v3 falls back to auto-discovery defaults that try to mkdir
/var/cache/apk on the runner and fail with EACCES, breaking every
Docker Publish run on main since #21 landed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@ysyneu ysyneu changed the title chore(ci): bump golangci-lint-action to v2.4 (unblock Go 1.25 PRs) fix(ci): bump golangci-lint to v2.4 + migrate buildkit-cache-dance to cache-map Apr 24, 2026
@ysyneu ysyneu merged commit 0f0bf32 into main Apr 24, 2026
10 checks passed
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