code quality fixes

This commit is contained in:
PB
2022-10-06 22:36:17 +02:00
parent 2245bf1ba6
commit 5adafdd8fb
5 changed files with 17 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ steps:
image: golang:latest
commands:
- go install honnef.co/go/tools/cmd/staticcheck@latest
- staticcheck ./src/internal/...
- cd src && staticcheck ./...
volumes:
- name: gopath
path: /go
@@ -16,7 +16,7 @@ steps:
image: golang:latest
commands:
- go install golang.org/x/lint/golint@latest
- golint ./src/internal/...
- golint ./src/...
volumes:
- name: gopath
path: /go
@@ -24,7 +24,7 @@ steps:
- name: analyze
image: golang:latest
commands:
- go vet ./src/internal/...
- cd src && go vet ./...
volumes:
- name: gopath
path: /go