Skip to content

Commit c7e59b7

Browse files
authored
Merge pull request #19 from mackerelio/go122
upgrade Go to 1.22 and 1.21
2 parents bc11d67 + 3669438 commit c7e59b7

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.github/workflows/go-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
type: string
1313
go-versions:
1414
description: 'Stringfied JSON object listing target Go versions'
15-
default: '["1.21.x", "1.20.x"]'
15+
default: '["1.22.x", "1.21.x"]'
1616
required: false
1717
type: string
1818
pre:

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@ on:
44
workflow_call:
55
inputs:
66
go-version:
7-
# TODO: upgrade default Go version after 2023-11-01.
8-
# Go 1.21 requires Windows Server 2016 or higher.
9-
# But Mackerel supports older Windows Servers yet.
10-
default: '1.20'
7+
default: '1.22'
118
required: false
129
type: string
1310

@@ -27,4 +24,3 @@ jobs:
2724
args: release --rm-dist
2825
env:
2926
GITHUB_TOKEN: ${{ github.token }}
30-

.github/workflows/setup-go-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
type: string
1414
go-versions:
1515
description: 'Stringfied JSON object listing target Go versions'
16-
default: '["1.21.x", "1.20.x"]'
16+
default: '["1.22.x", "1.21.x"]'
1717
required: false
1818
type: string
1919
run:

0 commit comments

Comments
 (0)