File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- name : Lint
1
+ name : Lint Golang Codebase
2
2
3
3
on :
4
4
pull_request :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- uses : actions/checkout@v3
14
+ - uses : actions/setup-go@v2
15
+ with :
16
+ go-version : ' ^1.17'
14
17
- name : golangci-lint
15
- uses : golangci/golangci-lint-action@v2
18
+ uses : golangci/golangci-lint-action@v3
16
19
with :
17
- version : v1.41.1
20
+ version : v1.43.0
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ var loadInClusterConfig = rest.InClusterConfig
99
99
func getKubeconfigFlag () string {
100
100
f := flag .CommandLine .Lookup ("kubeconfig" )
101
101
if f == nil {
102
- panic (fmt . Sprintf ( "--kubeconfig flag is not defined" ) )
102
+ panic ("--kubeconfig flag is not defined" )
103
103
}
104
104
105
105
return f .Value .String ()
You can’t perform that action at this time.
0 commit comments