1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-16 09:16:38 +00:00

scripts: bump golangci-lint version

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier 2022-02-28 16:06:08 +01:00
parent 2e849ffe21
commit 2530955eab
3 changed files with 400 additions and 157 deletions

View file

@ -41,10 +41,15 @@ jobs:
name: Golang linter
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- uses: actions/setup-go@v2
with:
version: v1.40.1
go-version: '${{ env.golang-version }}'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
with:
version: v1.44.2
args: --timeout 10m0s
check-metrics:
runs-on: ubuntu-latest

View file

@ -5,10 +5,10 @@ go 1.15
require (
github.com/brancz/gojsontoyaml v0.0.0-20191212081931-bf2969bbd742
github.com/bwplotka/mdox v0.9.0
github.com/golangci/golangci-lint v1.40.1
github.com/golangci/golangci-lint v1.44.2
github.com/google/go-jsonnet v0.18.0
github.com/jsonnet-bundler/jsonnet-bundler v0.3.1
github.com/yeya24/promlinter v0.1.0
github.com/yeya24/promlinter v0.1.1-0.20210918184747-d757024714a1
k8s.io/code-generator v0.23.0
sigs.k8s.io/controller-tools v0.6.2
)

File diff suppressed because it is too large Load diff