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

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
pull/4994/head
Simon Pasquier 6 years ago committed by GitHub
parent 29f21b8d0c
commit 5e2f5e4eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save