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

upgrade Go to 1.22 and 1.21 #19

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
type: string
go-versions:
description: 'Stringfied JSON object listing target Go versions'
default: '["1.21.x", "1.20.x"]'
default: '["1.22.x", "1.21.x"]'
required: false
type: string
pre:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ on:
workflow_call:
inputs:
go-version:
# TODO: upgrade default Go version after 2023-11-01.
# Go 1.21 requires Windows Server 2016 or higher.
# But Mackerel supports older Windows Servers yet.
default: '1.20'
default: '1.22'
required: false
type: string

Expand All @@ -27,4 +24,3 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ github.token }}

2 changes: 1 addition & 1 deletion .github/workflows/setup-go-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
type: string
go-versions:
description: 'Stringfied JSON object listing target Go versions'
default: '["1.21.x", "1.20.x"]'
default: '["1.22.x", "1.21.x"]'
required: false
type: string
run:
Expand Down