Skip to content

Commit

Permalink
chore: upgrade golangci lint to 1.46.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitm123 committed Jun 29, 2022
1 parent dc47485 commit 88bdcbf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@

# IntelliJ IDEs
.idea/

.vscode
2 changes: 1 addition & 1 deletion tasks/go-plugin-multiarch/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions tasks/go-plugin/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
4 changes: 2 additions & 2 deletions tasks/go/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down

0 comments on commit 88bdcbf

Please sign in to comment.