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:
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user