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:
parent
2e849ffe21
commit
2530955eab
3 changed files with 400 additions and 157 deletions
11
.github/workflows/checks.yaml
vendored
11
.github/workflows/checks.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
542
scripts/go.sum
542
scripts/go.sum
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue