File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1818 - name : Run linter
1919 uses :
golangci/[email protected] # Action page: <https://github.com/golangci/golangci-lint-action> 2020 with :
21- version : v1.60 # without patch version
21+ version : v1.61 # without patch version
2222 only-new-issues : false # show only new issues if it's a pull request
2323 args : --timeout=10m --build-tags=race ./...
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ linters: # All available linters list: <https://golangci-lint.run/usage/linters/
3737 - errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases
3838 - errorlint # find code that will cause problems with the error wrapping scheme introduced in Go 1.13
3939 - exhaustive # check exhaustiveness of enum switch statements
40- - exportloopref # checks for pointers to enclosing loop variables
40+ - copyloopvar # Checks for using loop variables in function literal closures
4141 - gochecknoglobals # Checks that no globals are present in Go code
4242 - gochecknoinits # Checks that no init functions are present in Go code
4343 - goconst # Finds repeated strings that could be replaced by a constant
You can’t perform that action at this time.
0 commit comments