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:
Boshi Lian 2025-05-18 00:59:18 -07:00 committed by GitHub
parent 22ad31b127
commit 2c2d378f86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 17 additions and 17 deletions

View file

@ -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"