1111 steps :
1212 - uses : actions/checkout@v5
1313
14+ - name : Setup Go with cache
15+ uses : actions/setup-go@v5
16+ with :
17+ go-version : ' 1.24'
18+ cache : true
19+ cache-dependency-path : bigcachetest/go.sum
20+
1421 - name : Create large go.mod & go.sum in test directory
1522 working-directory : bigcachetest
1623 run : |
5562 EOF
5663 go mod tidy
5764
58- - name : Setup Go with cache
59- uses : actions/setup-go@v5
60- with :
61- go-version : ' 1.24'
62- cache : true
63- cache-dependency-path : bigcachetest/go.sum
64-
6565 - name : Download dependencies
6666 working-directory : bigcachetest
6767 run : go mod download
7474 steps :
7575 - uses : actions/checkout@v5
7676
77+ - name : Setup Go with cache
78+ uses : actions/setup-go@v5
79+ with :
80+ go-version : ' 1.24'
81+ cache : true
82+ cache-dependency-path : bigcachetest/go.sum
83+
7784 - name : Create large go.mod & go.sum in test directory
7885 working-directory : bigcachetest
7986 run : |
@@ -118,13 +125,6 @@ jobs:
118125 EOF
119126 go mod tidy
120127
121- - name : Setup Go with cache
122- uses : actions/setup-go@v5
123- with :
124- go-version : ' 1.24'
125- cache : true
126- cache-dependency-path : bigcachetest/go.sum
127-
128128 - name : Download dependencies
129129 working-directory : bigcachetest
130130 run : go mod download
@@ -137,6 +137,13 @@ jobs:
137137 steps :
138138 - uses : actions/checkout@v5
139139
140+ - name : Setup Go with cache
141+ uses : actions/setup-go@v5
142+ with :
143+ go-version : ' 1.24'
144+ cache : true
145+ cache-dependency-path : bigcachetest/go.sum
146+
140147 - name : Create large go.mod & go.sum in test directory
141148 working-directory : bigcachetest
142149 run : |
@@ -182,13 +189,6 @@ jobs:
182189 Set-Content -Path go.mod -Value $goMod
183190 go mod tidy
184191
185- - name : Setup Go with cache
186- uses : actions/setup-go@v5
187- with :
188- go-version : ' 1.24'
189- cache : true
190- cache-dependency-path : bigcachetest/go.sum
191-
192192 - name : Download dependencies
193193 working-directory : bigcachetest
194194 run : go mod download
0 commit comments