Skip to content

Commit 85b1e92

Browse files
authored
ci: disable golangci-lint cache to avoid stale-cache lint failures (#5488)
1 parent a92927f commit 85b1e92

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/go.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ jobs:
7171
- name: GolangCI-Lint
7272
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
7373
with:
74-
skip-cache: false
74+
# Disable the golangci-lint cache: a restored stale cache has produced
75+
# phantom staticcheck findings in files unrelated to the PR diff. The
76+
# full lint run is fast enough that correctness is worth the trade-off.
77+
skip-cache: true
7578
version: v2.11.3
7679
- name: Whitespace check
7780
run: make check-whitespace

0 commit comments

Comments
 (0)