@@ -259,8 +259,8 @@ _#step: ((_#job & {
259
259
steps: _
260
260
}).steps & [_])[0]
261
261
262
- // We use the latest go1.15 for code generation
263
- _#codeGenGo: "1.15.15 "
262
+ // We use the latest go1.16 for code generation
263
+ _#codeGenGo: "1.16.10 "
264
264
265
265
// Use a specific latest version for release builds
266
266
_#latestStableGo: "1.17.3"
@@ -270,7 +270,7 @@ _#windowsMachine: "windows-2019"
270
270
_#testStrategy: {
271
271
"fail-fast": false
272
272
matrix: {
273
- "go-version": [_#codeGenGo, "1.16.10", _#latestStableGo]
273
+ "go-version": [_#codeGenGo, _#latestStableGo]
274
274
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
275
275
}
276
276
}
@@ -293,7 +293,7 @@ _#checkoutCode: _#step & {
293
293
}
294
294
_#cacheGoModules: _#step & {
295
295
name: "Cache Go modules"
296
- uses: "actions/cache@v1 "
296
+ uses: "actions/cache@v2 "
297
297
with: {
298
298
path: "~/go/pkg/mod"
299
299
key: "${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}"
@@ -1087,9 +1087,8 @@ import "strings"
1087
1087
"fail-fast": (bool){ false }
1088
1088
matrix: (#struct){
1089
1089
"go-version": (#list){
1090
- 0: (string){ "1.15.15" }
1091
- 1: (string){ "1.16.10" }
1092
- 2: (string){ "1.17.3" }
1090
+ 0: (string){ "1.16.10" }
1091
+ 1: (string){ "1.17.3" }
1093
1092
}
1094
1093
os: (#list){
1095
1094
0: (string){ "ubuntu-18.04" }
@@ -1118,7 +1117,7 @@ import "strings"
1118
1117
}
1119
1118
3: (#struct){
1120
1119
name: (string){ "Cache Go modules" }
1121
- uses: (string){ "actions/cache@v1 " }
1120
+ uses: (string){ "actions/cache@v2 " }
1122
1121
with: (#struct){
1123
1122
path: (string){ "~/go/pkg/mod" }
1124
1123
key: (string){ "${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}" }
@@ -1134,7 +1133,7 @@ import "strings"
1134
1133
5: (#struct){
1135
1134
name: (string){ "Generate" }
1136
1135
run: (string){ "go generate ./..." }
1137
- if: (string){ "matrix.go-version == '1.15.15 ' && matrix.os != 'windows-2019'" }
1136
+ if: (string){ "matrix.go-version == '1.16.10 ' && matrix.os != 'windows-2019'" }
1138
1137
}
1139
1138
6: (#struct){
1140
1139
name: (string){ "Test" }
@@ -1668,9 +1667,8 @@ import "strings"
1668
1667
"fail-fast": (bool){ false }
1669
1668
matrix: (#struct){
1670
1669
"go-version": (#list){
1671
- 0: (string){ "1.15.15" }
1672
- 1: (string){ "1.16.10" }
1673
- 2: (string){ "1.17.3" }
1670
+ 0: (string){ "1.16.10" }
1671
+ 1: (string){ "1.17.3" }
1674
1672
}
1675
1673
os: (#list){
1676
1674
0: (string){ "ubuntu-18.04" }
@@ -1699,7 +1697,7 @@ import "strings"
1699
1697
}
1700
1698
3: (#struct){
1701
1699
name: (string){ "Cache Go modules" }
1702
- uses: (string){ "actions/cache@v1 " }
1700
+ uses: (string){ "actions/cache@v2 " }
1703
1701
with: (#struct){
1704
1702
path: (string){ "~/go/pkg/mod" }
1705
1703
key: (string){ "${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}" }
@@ -1715,7 +1713,7 @@ import "strings"
1715
1713
5: (#struct){
1716
1714
name: (string){ "Generate" }
1717
1715
run: (string){ "go generate ./..." }
1718
- if: (string){ "matrix.go-version == '1.15.15 ' && matrix.os != 'windows-2019'" }
1716
+ if: (string){ "matrix.go-version == '1.16.10 ' && matrix.os != 'windows-2019'" }
1719
1717
}
1720
1718
6: (#struct){
1721
1719
name: (string){ "Test" }
@@ -2236,7 +2234,7 @@ import "strings"
2236
2234
}
2237
2235
_#step(:ci): (#struct){
2238
2236
}
2239
- _#codeGenGo(:ci): (string){ "1.15.15 " }
2237
+ _#codeGenGo(:ci): (string){ "1.16.10 " }
2240
2238
_#latestStableGo(:ci): (string){ "1.17.3" }
2241
2239
_#linuxMachine(:ci): (string){ "ubuntu-18.04" }
2242
2240
_#macosMachine(:ci): (string){ "macos-10.15" }
@@ -2245,9 +2243,8 @@ import "strings"
2245
2243
"fail-fast": (bool){ false }
2246
2244
matrix: (#struct){
2247
2245
"go-version": (#list){
2248
- 0: (string){ "1.15.15" }
2249
- 1: (string){ "1.16.10" }
2250
- 2: (string){ "1.17.3" }
2246
+ 0: (string){ "1.16.10" }
2247
+ 1: (string){ "1.17.3" }
2251
2248
}
2252
2249
os: (#list){
2253
2250
0: (string){ "ubuntu-18.04" }
@@ -2278,7 +2275,7 @@ import "strings"
2278
2275
}
2279
2276
_#cacheGoModules(:ci): (#struct){
2280
2277
name: (string){ "Cache Go modules" }
2281
- uses: (string){ "actions/cache@v1 " }
2278
+ uses: (string){ "actions/cache@v2 " }
2282
2279
with: (#struct){
2283
2280
path: (string){ "~/go/pkg/mod" }
2284
2281
key: (string){ "${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}" }
@@ -2288,7 +2285,7 @@ import "strings"
2288
2285
_#goGenerate(:ci): (#struct){
2289
2286
name: (string){ "Generate" }
2290
2287
run: (string){ "go generate ./..." }
2291
- if: (string){ "matrix.go-version == '1.15.15 ' && matrix.os != 'windows-2019'" }
2288
+ if: (string){ "matrix.go-version == '1.16.10 ' && matrix.os != 'windows-2019'" }
2292
2289
}
2293
2290
_#goTest(:ci): (#struct){
2294
2291
name: (string){ "Test" }
@@ -2641,7 +2638,7 @@ import "strings"
2641
2638
}).steps & [
2642
2639
_,
2643
2640
])[0]
2644
- _#codeGenGo: "1.15.15 "
2641
+ _#codeGenGo: "1.16.10 "
2645
2642
_#latestStableGo: "1.17.3"
2646
2643
_#linuxMachine: "ubuntu-18.04"
2647
2644
_#macosMachine: "macos-10.15"
@@ -2651,7 +2648,6 @@ import "strings"
2651
2648
matrix: {
2652
2649
"go-version": [
2653
2650
〈3;_#codeGenGo〉,
2654
- "1.16.10",
2655
2651
〈3;_#latestStableGo〉,
2656
2652
]
2657
2653
os: [
@@ -2680,7 +2676,7 @@ import "strings"
2680
2676
})
2681
2677
_#cacheGoModules: (〈0;_#step〉 & {
2682
2678
name: "Cache Go modules"
2683
- uses: "actions/cache@v1 "
2679
+ uses: "actions/cache@v2 "
2684
2680
with: {
2685
2681
path: "~/go/pkg/mod"
2686
2682
key: "${{ runner.os }}-${{ matrix.go-version }}-go-${{ hashFiles('**/go.sum') }}"
0 commit comments