add staticcheck to CI

This commit is contained in:
Steffen Vogel 2021-10-19 13:57:05 +02:00
parent 2a9b2d4026
commit da0929411b

View file

@ -10,6 +10,14 @@ stages:
# Stage: test
##############################################################################
staticcheck:
stage: test
image: golang:1.16-buster
before_script:
- go install honnef.co/go/tools/cmd/staticcheck@latest
script:
- staticcheck ./...
test:
stage: test
image: golang:1.16-buster