Fix linting issues (#595)
* fix lint * Bump golangci-lint action to v8 and update linting args * fix lint errors * fix: correct loop condition in main function to process remaining arguments
This commit is contained in:
parent
22ad31b127
commit
2c2d378f86
10 changed files with 17 additions and 17 deletions
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
|
@ -33,9 +33,9 @@ jobs:
|
|||
run: go test -v -race -cover -tags full ./...
|
||||
|
||||
- name: golangci-lint
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
args: --timeout=60m -E gofmt --verbose --print-resources-usage --build-tags full
|
||||
args: --timeout=60m --verbose --print-resources-usage --build-tags full -D errcheck
|
||||
env:
|
||||
GOGC: "10"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue