File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,17 @@ jobs:
14
14
name : lint
15
15
runs-on : ubuntu-latest
16
16
steps :
17
+ - name : Set up Go
18
+ uses : actions/setup-go@v2
19
+ with :
20
+ go-version : ' 1.14.4'
17
21
- uses : actions/checkout@v2
18
22
- name : Run golangci-lint
19
23
uses : golangci/golangci-lint-action@v2
20
24
with :
21
25
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
22
26
version : v1.35.0
27
+ skip-go-installation : true
23
28
24
29
# Optional: working directory, useful for monorepos
25
30
# working-directory: somedir
Original file line number Diff line number Diff line change @@ -83,12 +83,12 @@ func (udm *UDM) Initialize(c *cli.Context) error {
83
83
return validErr
84
84
}
85
85
86
- udm .setLogLevel ()
86
+ udm .SetLogLevel ()
87
87
88
88
return nil
89
89
}
90
90
91
- func (udm * UDM ) setLogLevel () {
91
+ func (udm * UDM ) SetLogLevel () {
92
92
if factory .UdmConfig .Logger == nil {
93
93
logger .InitLog .Warnln ("UDM config without log level setting!!!" )
94
94
return
You can’t perform that action at this time.
0 commit comments