forked from RamenDR/ramen
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: upgrade to setup-go v4 and disable cache with golangci
Below errors were seen with setup-go@v4 in golangci Lint: Error: /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/yaml@v1.3.0/yaml_ test.go: Cannot open: File exists /usr/bin/tar: ../../../go/pkg/mod/sigs.k8s.io/yaml@v1.3.0/LICENSE: Cannot open: File exists Disabling Cache with golangci solves the problem and makes sure that we are in a reecent setup-go as well. Cache can be enabled once the resultant issue is fixed in golangci lint action repo. Issue that is to be tracked: golangci/golangci-lint-action#135 Updates: RamenDR#1000 Signed-off-by: Shwetha K Acharya <sacharya@redhat.com>
- Loading branch information
1 parent
445836a
commit 8c2ddce
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
The whitespace changes are not related, best to do them in a separate commit. If we need to revert the change later, we will revert the unrelated whitespace change.