Skip to content

Commit 557ee9f

Browse files
authored
lint: Don't use golangci cache (#201)
Currently we have ~50k lines of tar extraction errors with "File exists" when the golangi-lint-action runs. There doesn't seem to be a clean way around this, other than disabling its cache. See also: golangci/golangci-lint-action#244 (comment) Example of the offending run: https://github.com/neondatabase/autoscaling/actions/runs/4740610494/jobs/8416629913
1 parent adb316e commit 557ee9f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
version: v1.52.2
2525
args: --timeout 5m --fix
2626
github-token: ${{ secrets.github_token }}
27+
# caching issues, see: https://github.com/golangci/golangci-lint-action/issues/244#issuecomment-1052190775
28+
skip-pkg-cache: true
29+
skip-build-cache: true
2730

2831
- name: go mod tidy
2932
run: |

0 commit comments

Comments
 (0)