remove staticcheck

This commit is contained in:
Denis Bilenko 2024-12-03 15:00:17 +01:00
parent 3da76ed49e
commit d75fd2b309
2 changed files with 2 additions and 3 deletions

View File

@ -45,7 +45,6 @@ jobs:
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
go install gotest.tools/gotestsum@latest go install gotest.tools/gotestsum@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: Pull external libraries - name: Pull external libraries
run: | run: |

View File

@ -7,8 +7,8 @@ fmt:
@gofmt -w $(shell find . -type f -name '*.go' -not -path "./vendor/*") @gofmt -w $(shell find . -type f -name '*.go' -not -path "./vendor/*")
lint: vendor lint: vendor
@echo "✓ Linting source code with https://staticcheck.io/ ..." @echo "✓ Linting source code with https://golangci-lint.run/ ..."
@staticcheck ./... @golangci-lint run ./...
test: lint test: lint
@echo "✓ Running tests ..." @echo "✓ Running tests ..."