Skip to content

ci: keep golangci-lint's cache between runs - #52

Open
aledbf wants to merge 1 commit into
mainfrom
ci/golangci-cache
Open

aledbf wants to merge 1 commit into
mainfrom
ci/golangci-cache

Conversation

@aledbf

@aledbf aledbf commented Nov 8, 2026

Copy link
Copy Markdown
Member

Fixes #51

Restores artifacts/golangci-lint (the GOLANGCI_LINT_CACHE task lint:go gives the container) before task lint, saved under the commit, restored from the newest. task lint was 77 s on the last green main run; this PR's run is cold, the next shows the difference.

Checked: task lint green locally. A workflow change: the check is this PR's run and main's next one (no Go changed).

🤖 Generated with Claude Code

setup-go keeps only Go's caches, so every lint-and-test run analysed
every package from nothing. golangci-lint keys its cache by content, so
any older copy is safe to start from: saved under the commit, restored
from the newest, main's for a pull request.

Fixes #51

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.

ci: keep golangci-lint's cache between runs

1 participant