Skip to content

Commit

Permalink
Update Make check target with golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
silkeh committed Sep 1, 2023
1 parent 72bf9cf commit 5e292eb
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,7 @@ uninstall:
$(RMDIR_IF_EMPTY) $(BINDIR)

check:
$(GO) get -u golang.org/x/lint/golint
$(GO) get -u github.com/securego/gosec/cmd/gosec
$(GO) get -u honnef.co/go/tools/cmd/staticcheck
$(GO) get -u gitlab.com/opennota/check/cmd/aligncheck
$(GO) fmt -x ./...
$(GO) vet ./...
golint -set_exit_status `go list ./... | grep -v vendor`
gosec -exclude=G204 ./...
staticcheck ./...
aligncheck ./...
$(shell $(GO) env GOPATH)/bin/golangci-lint run
$(GO) test -cover ./...

vendor: check clean
Expand Down

0 comments on commit 5e292eb

Please sign in to comment.