Skip to content

Commit

Permalink
ci: skip-cache for golangci-lint task
Browse files Browse the repository at this point in the history
  • Loading branch information
hbomb79 committed Jan 18, 2024
1 parent 8906feb commit 927dce3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.21.6'
# during the golangci-lint execution, many files are extracted
# which conflict with those which are cached by the go setup
# and cause an insane amount of log spam.
# This is an ongoing issue with the golangci-lint action, and
# so for now we won't cache the Go artifacts:
# https://github.com/golangci/golangci-lint-action/issues/807
cache: false

- name: Verify Go Mod
Expand All @@ -38,6 +32,14 @@ jobs:

- name: Run golangci-lint
uses: golangci/[email protected]
with:
# during the golangci-lint execution, many files are extracted
# which conflict with those which are cached by the go setup
# and cause an insane amount of log spam.
# This is an ongoing issue with the golangci-lint action, and
# so for now we won't cache the Go artifacts:
# https://github.com/golangci/golangci-lint-action/issues/807
skip-cache: true

# - name: Test
# run: go test -v ./...
Expand Down

0 comments on commit 927dce3

Please sign in to comment.