File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 60
60
pull-requests : read
61
61
steps :
62
62
- uses : actions/checkout@v3
63
- - uses : actions/setup-go@v3
63
+ - uses : actions/setup-go@v4
64
+ with :
65
+ cache : false # setup-go v4 caches by default
64
66
- uses : ./
65
67
with :
66
68
version : ${{ matrix.version }}
80
82
contents : read
81
83
steps :
82
84
- uses : actions/checkout@v3
83
- - uses : actions/setup-go@v3
85
+ - uses : actions/setup-go@v4
86
+ with :
87
+ cache : false # setup-go v4 caches by default
84
88
- uses : ./
85
89
with :
86
90
working-directory : sample-go-mod
Original file line number Diff line number Diff line change 38
38
name : lint
39
39
runs-on : ubuntu-latest
40
40
steps :
41
- - uses : actions/setup-go@v3
41
+ - uses : actions/setup-go@v4
42
42
with :
43
43
go-version : ' 1.17'
44
+ cache : false
44
45
- uses : actions/checkout@v3
45
46
- name : golangci-lint
46
47
uses : golangci/golangci-lint-action@v3
@@ -98,10 +99,11 @@ jobs:
98
99
name : lint
99
100
runs-on : ${{ matrix.os }}
100
101
steps :
101
- - uses : actions/setup-go@v3
102
+ - uses : actions/checkout@v3
103
+ - uses : actions/setup-go@v4
102
104
with :
103
105
go-version : ${{ matrix.go }}
104
- - uses : actions/checkout@v3
106
+ cache : false
105
107
- name : golangci-lint
106
108
uses : golangci/golangci-lint-action@v3
107
109
with :
You can’t perform that action at this time.
0 commit comments