From 88bdcbf2da608b4fadecef4f07f110365e099b0e Mon Sep 17 00:00:00 2001 From: ankitm123 Date: Wed, 29 Jun 2022 07:45:59 -0400 Subject: [PATCH] chore: upgrade golangci lint to 1.46.2 --- .gitignore | 2 ++ tasks/go-plugin-multiarch/pullrequest.yaml | 2 +- tasks/go-plugin/pullrequest.yaml | 4 ++-- tasks/go/pullrequest.yaml | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 21a029a363..3620ac31e0 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,5 @@ # IntelliJ IDEs .idea/ + +.vscode diff --git a/tasks/go-plugin-multiarch/pullrequest.yaml b/tasks/go-plugin-multiarch/pullrequest.yaml index 93c4dae8de..b87f75d7eb 100644 --- a/tasks/go-plugin-multiarch/pullrequest.yaml +++ b/tasks/go-plugin-multiarch/pullrequest.yaml @@ -40,7 +40,7 @@ spec: script: | #!/bin/sh make linux - - image: golangci/golangci-lint:v1.42.1-alpine + - image: golangci/golangci-lint:v1.46.2-alpine name: make-lint resources: {} script: | diff --git a/tasks/go-plugin/pullrequest.yaml b/tasks/go-plugin/pullrequest.yaml index e5e80d4996..f5ed3f1d4b 100644 --- a/tasks/go-plugin/pullrequest.yaml +++ b/tasks/go-plugin/pullrequest.yaml @@ -40,12 +40,12 @@ spec: script: | #!/bin/sh make linux - - image: golangci/golangci-lint:v1.42.1-alpine + - image: golangci/golangci-lint:v1.46.2-alpine name: make-lint resources: {} script: | #!/bin/sh - golangci-lint run --verbose --deadline 30m0s + golangci-lint run --deadline 30m0s - image: golang:1.17.9 name: build-make-test resources: {} diff --git a/tasks/go/pullrequest.yaml b/tasks/go/pullrequest.yaml index 4f5ce936e7..f5df4c8e8d 100644 --- a/tasks/go/pullrequest.yaml +++ b/tasks/go/pullrequest.yaml @@ -40,12 +40,12 @@ spec: script: | #!/bin/sh make linux - - image: golangci/golangci-lint:v1.42.1-alpine + - image: golangci/golangci-lint:v1.46.2-alpine name: make-lint resources: {} script: | #!/bin/sh - golangci-lint run --verbose --deadline 30m0s + golangci-lint run --deadline 30m0s - image: ghcr.io/jenkins-x/jx-registry:0.1.6 name: check-registry resources: {}