-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: skip-cache for golangci-lint task
Workaround for: golangci/golangci-lint-action#807
- Loading branch information
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 ./... | ||
|