Repository navigation
ci: keep golangci-lint's cache between runs - #52
Merged
Merged
Conversation
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
force-pushed
the
ci/golangci-cache
branch
from
November 12, 2026 17:07
c88de2a to
e87d565
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #51
Restores
artifacts/golangci-lint(the GOLANGCI_LINT_CACHEtask lint:gogives the container) beforetask lint, saved under the commit, restored from the newest.task lintwas 77 s on the last green main run; this PR's run is cold, the next shows the difference.Checked:
task lintgreen locally. A workflow change: the check is this PR's run and main's next one (no Go changed).🤖 Generated with Claude Code