File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,17 @@ jobs:
5959 steps :
6060 - name : Checkout code
6161 uses : actions/checkout@v3
62+ - name : Setup Golang
63+ uses : actions/setup-go@v4
64+ with :
65+ go-version : ' 1.20'
66+ cache : false
67+ env :
68+ GO111MODULE : off
6269 - name : Run golangci-lint
63- uses : golangci/golangci-lint-action@v3
70+ uses : golangci/golangci-lint-action@v5
6471 with :
65- version : v1.52 .2
72+ version : v1.57 .2
6673 args : --timeout 5m
6774 test :
6875 name : Ensure unit tests are passing
Original file line number Diff line number Diff line change 11run :
22 timeout : 2m
3- skip-files :
4- - " .*\\ .pb\\ .go"
5- skip-dirs :
6- - vendor/
73linters :
84 enable :
95 - vet
@@ -15,5 +11,8 @@ linters:
1511linters-settings :
1612 goimports :
1713 local-prefixes : github.com/argoproj-labs/argocd-image-updater
18- service :
19- golangci-lint-version : 1.52.2
14+ issues :
15+ exclude-files :
16+ - " .*\\ .pb\\ .go"
17+ exclude-dirs :
18+ - vendor/
You can’t perform that action at this time.
0 commit comments