File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 15
15
- name : Vendor modules for later steps.
16
16
run : |
17
17
go mod vendor
18
- - uses : golangci/golangci-lint-action@537aa1903e5d359d0b27dbc19ddd22c5087f3fbc # v3.2 .0
18
+ - uses : golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7 .0
19
19
with :
20
20
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
21
- version : v1.49
21
+ version : v1.55
Original file line number Diff line number Diff line change @@ -30,6 +30,18 @@ linters:
30
30
- lll # we allow any line length
31
31
- unparam # we allow function calls to name unused parameters
32
32
- maligned # clear structs are more important than saving a few bytes.
33
+
34
+ linters-settings :
35
+ depguard :
36
+ rules :
37
+ main :
38
+ files :
39
+ - " $all"
40
+ - " !$test"
41
+ deny :
42
+ - pkg : io/ioutil
43
+ desc : The io/ioutil package has been deprecated, see https://go.dev/doc/go1.16#ioutil
44
+
33
45
run :
34
46
timeout : 5m
35
47
skip-dirs :
You can’t perform that action at this time.
0 commit comments