Skip to content

Commit

Permalink
upgrade Go to 1.22 and 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
lufia committed Feb 19, 2024
1 parent bc11d67 commit 3669438
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
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

0 comments on commit 3669438

Please sign in to comment.