ci: move to using go1.16
Change-Id: I4515d54dd784776880fb1ae55e2f25ff8ccd5807
Reviewed-on: https://cue-review.googlesource.com/c/cue/+/8783
Reviewed-by: CUE cueckoo <cueckoo@gmail.com>
Reviewed-by: Paul Jolly <paul@myitcv.org.uk>
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 97462ae..f86de27 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -31,7 +31,7 @@
go-version:
- 1.14.14
- 1.15.8
- - 1.16.0-rc1
+ - "1.16"
os:
- ubuntu-18.04
- macos-10.15
diff --git a/cmd/cue/cmd/testdata/script/cmd_github.txt b/cmd/cue/cmd/testdata/script/cmd_github.txt
index 3314ae3..e180a69 100644
--- a/cmd/cue/cmd/testdata/script/cmd_github.txt
+++ b/cmd/cue/cmd/testdata/script/cmd_github.txt
@@ -206,7 +206,7 @@
go-version:
- 1.14.14
- 1.15.8
- - 1.16.0-rc1
+ - "1.16"
os:
- ubuntu-18.04
- macos-10.15
@@ -1403,7 +1403,7 @@
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
- "go-version": [_#codeGenGo, _#latestStableGo, "1.16.0-rc1"]
+ "go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}
diff --git a/cue/testdata/eval/github.txtar b/cue/testdata/eval/github.txtar
index cf1d271..bd88e5f 100644
--- a/cue/testdata/eval/github.txtar
+++ b/cue/testdata/eval/github.txtar
@@ -281,7 +281,7 @@
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
- "go-version": [_#codeGenGo, _#latestStableGo, "1.16.0-rc1"]
+ "go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}
@@ -1123,7 +1123,7 @@
"go-version": (#list){
0: (string){ "1.14.14" }
1: (string){ "1.15.8" }
- 2: (string){ "1.16.0-rc1" }
+ 2: (string){ "1.16" }
}
os: (#list){
0: (string){ "ubuntu-18.04" }
@@ -1747,7 +1747,7 @@
"go-version": (#list){
0: (string){ "1.14.14" }
1: (string){ "1.15.8" }
- 2: (string){ "1.16.0-rc1" }
+ 2: (string){ "1.16" }
}
os: (#list){
0: (string){ "ubuntu-18.04" }
@@ -2367,7 +2367,7 @@
"go-version": (#list){
0: (string){ "1.14.14" }
1: (string){ "1.15.8" }
- 2: (string){ "1.16.0-rc1" }
+ 2: (string){ "1.16" }
}
os: (#list){
0: (string){ "ubuntu-18.04" }
@@ -2792,7 +2792,7 @@
"go-version": [
〈2;_#codeGenGo〉,
〈2;_#latestStableGo〉,
- "1.16.0-rc1",
+ "1.16",
]
os: [
〈2;_#linuxMachine〉,
diff --git a/internal/ci/workflows.cue b/internal/ci/workflows.cue
index 37ac223..566adb5 100644
--- a/internal/ci/workflows.cue
+++ b/internal/ci/workflows.cue
@@ -347,7 +347,7 @@
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
- "go-version": [_#codeGenGo, _#latestStableGo, "1.16.0-rc1"]
+ "go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}