mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
circleci: add back 'unused' and 'staticcheck' tests (#5021)
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
parent
29f21b8d0c
commit
5e2f5e4eea
|
@ -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…
Reference in a new issue