mirror of
https://git.rwth-aachen.de/acs/public/villas/web-backend-go/
synced 2025-03-30 00:00:12 +01:00
add staticcheck to CI
This commit is contained in:
parent
2a9b2d4026
commit
da0929411b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue