circleci: add back 'unused' and 'staticcheck' tests (#5021)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2018-12-20 14:40:34 +01:00 committed by GitHub
parent 29f21b8d0c
commit 5e2f5e4eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,14 +11,11 @@ executors:
jobs:
test:
executor: golang
resource_class: large
steps:
- checkout
- run: make promu
# 'unused' and 'staticcheck' are skipped because 'go mod tidy' gives different results for Go1.11.3 and Go 1.11.4.
# They should be added back once CircleCI updates to 1.11.4.
- run: make check_license style build check_assets
- run: make check_license style unused staticcheck build check_assets
- run: git diff --exit-code
- store_artifacts:
path: prometheus