Skip to content

Commit

Permalink
lint: Don't use golangci cache (#201)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sharnoff authored Apr 19, 2023
1 parent adb316e commit 557ee9f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ jobs:
version: v1.52.2
args: --timeout 5m --fix
github-token: ${{ secrets.github_token }}
# caching issues, see: https://github.com/golangci/golangci-lint-action/issues/244#issuecomment-1052190775
skip-pkg-cache: true
skip-build-cache: true

- name: go mod tidy
run: |
Expand Down

0 comments on commit 557ee9f

Please sign in to comment.