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:
59
59
steps :
60
60
- name : Checkout code
61
61
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
62
69
- name : Run golangci-lint
63
- uses : golangci/golangci-lint-action@v3
70
+ uses : golangci/golangci-lint-action@v5
64
71
with :
65
- version : v1.52 .2
72
+ version : v1.57 .2
66
73
args : --timeout 5m
67
74
test :
68
75
name : Ensure unit tests are passing
Original file line number Diff line number Diff line change 1
1
run :
2
2
timeout : 2m
3
- skip-files :
4
- - " .*\\ .pb\\ .go"
5
- skip-dirs :
6
- - vendor/
7
3
linters :
8
4
enable :
9
5
- vet
@@ -15,5 +11,8 @@ linters:
15
11
linters-settings :
16
12
goimports :
17
13
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