Skip to content

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

Merged
aledbf merged 2 commits into
mainfrom
ci/golangci-cache
Nov 12, 2026
Merged

aledbf merged 2 commits 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

aledbf and others added 2 commits November 12, 2026 14:03
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 <[email protected]>
GO-2026-6859 is fixed in go1.27.4, and vulngate reports it as called
and fixed, so task vuln fails on main and every pull request until the
toolchain moves.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@aledbf
aledbf merged commit 10e1b45 into main Nov 12, 2026
20 of 23 checks passed
@aledbf
aledbf deleted the ci/golangci-cache branch November 12, 2026 17:33
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