Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update go version for release #1223

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.15.8
go-version: "1.17"
stable: false
- name: Setup qemu
uses: docker/setup-qemu-action@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
matrix:
go-version:
- 1.14.14
- "1.17"
- 1.15.8
- "1.16"
os:
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
- name: Test
run: go test ./...
- if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/ci/')
&& matrix.go-version == '1.15.8' && matrix.os == 'ubuntu-18.04' }}
&& matrix.go-version == '1.17' && matrix.os == 'ubuntu-18.04' }}
name: Test with -race
run: go test -race ./...
- name: gorelease check
Expand Down
4 changes: 2 additions & 2 deletions cmd/cue/cmd/testdata/script/cmd_github.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1372,15 +1372,15 @@ _#step: ((_#job & {
_#codeGenGo: "1.14.14"

// Use a specific latest version for release builds
_#latestStableGo: "1.15.8"
_#latestStableGo: "1.17"
_#linuxMachine: "ubuntu-18.04"
_#macosMachine: "macos-10.15"
_#windowsMachine: "windows-2019"
_#testStrategy: {
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
"go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
"go-version": [_#codeGenGo, _#latestStableGo, "1.15.8", "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}
Expand Down
4 changes: 2 additions & 2 deletions cue/testdata/eval/github.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,15 @@ _#step: ((_#job & {
_#codeGenGo: "1.14.14"

// Use a specific latest version for release builds
_#latestStableGo: "1.15.8"
_#latestStableGo: "1.17"
_#linuxMachine: "ubuntu-18.04"
_#macosMachine: "macos-10.15"
_#windowsMachine: "windows-2019"
_#testStrategy: {
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
"go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
"go-version": [_#codeGenGo, _#latestStableGo, "1.15.8", "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}
Expand Down
4 changes: 2 additions & 2 deletions internal/ci/workflows.cue
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ _#step: ((_#job & {steps: _}).steps & [_])[0]
_#codeGenGo: "1.14.14"

// Use a specific latest version for release builds
_#latestStableGo: "1.15.8"
_#latestStableGo: "1.17"

_#linuxMachine: "ubuntu-18.04"
_#macosMachine: "macos-10.15"
Expand All @@ -357,7 +357,7 @@ _#testStrategy: {
"fail-fast": false
matrix: {
// Use a stable version of 1.14.x for go generate
"go-version": [_#codeGenGo, _#latestStableGo, "1.16"]
"go-version": [_#codeGenGo, _#latestStableGo, "1.15.8", "1.16"]
os: [_#linuxMachine, _#macosMachine, _#windowsMachine]
}
}
Expand Down