1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

Merge pull request #3579 from Amab/feature/go-lint

Setup a CI job for Go code linting. Fixes # 3576
This commit is contained in:
Frederic Branczyk
2020-11-27 18:05:23 +01:00
committed by GitHub
23 changed files with 6116 additions and 18389 deletions

View File

@@ -31,6 +31,16 @@ jobs:
use-quiet-mode: 'yes'
config-file: '.github/workflows/.mlc_config.json'
continue-on-error: true
check-golang:
runs-on: ubuntu-latest
name: Golang linter
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.33
args: --timeout 10m0s
check-metrics:
runs-on: ubuntu-latest
name: Check prometheus metrics