-
Notifications
You must be signed in to change notification settings - Fork 222
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade go1.19, helm update and add golangci-lint job (#460)
* upgrade to go1.19 Signed-off-by: cpanato <[email protected]> * add golangci-lint Signed-off-by: cpanato <[email protected]> * fix lints and Replace github.com/pkg/errors dependency with native error wrapping Signed-off-by: cpanato <[email protected]> * update install kind cluster Signed-off-by: cpanato <[email protected]> * update tests Signed-off-by: cpanato <[email protected]> * use errors.new Signed-off-by: cpanato <[email protected]> Signed-off-by: cpanato <[email protected]>
- Loading branch information
Showing
24 changed files
with
211 additions
and
170 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
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
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
linters: | ||
enable: | ||
- asciicheck | ||
- deadcode | ||
- depguard | ||
- errcheck | ||
- errorlint | ||
- gofmt | ||
- goimports | ||
- gosec | ||
- gocritic | ||
- importas | ||
- prealloc | ||
- revive | ||
- misspell | ||
- stylecheck | ||
- unconvert | ||
- whitespace | ||
output: | ||
uniq-by-line: false | ||
issues: | ||
exclude-rules: | ||
- path: _test\.go | ||
linters: | ||
- errcheck | ||
- gosec | ||
max-issues-per-linter: 0 | ||
max-same-issues: 0 | ||
run: | ||
issues-exit-code: 1 | ||
timeout: 10m |
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
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
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
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
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
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
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
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
Oops, something went wrong.