Skip to content

Commit 06f8579

Browse files
committed
update ci go version to 1.22
1 parent 9bcc0e0 commit 06f8579

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: CI
22
on:
33
push:
44
tags:
5-
- 'v*.*.*'
5+
- "v*.*.*"
66
branches:
77
- master
88
pull_request:
99
types: [opened, synchronize, reopened]
1010
workflow_dispatch:
1111
inputs:
1212
version:
13-
description: 'Release version'
13+
description: "Release version"
1414
required: true
1515

1616
jobs:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Go
2525
uses: actions/setup-go@v5
2626
with:
27-
go-version: '1.20'
27+
go-version: "1.22"
2828

2929
- name: Format Check
3030
run: |
@@ -46,28 +46,28 @@ jobs:
4646
strategy:
4747
matrix:
4848
target:
49-
- 'windows/amd64'
50-
- 'windows/386'
51-
- 'windows/arm64'
52-
- 'linux/amd64'
53-
- 'linux/386'
54-
- 'linux/arm64'
55-
- 'linux/arm'
56-
- 'darwin/amd64'
57-
- 'darwin/arm64'
58-
- 'freebsd/386'
59-
- 'freebsd/amd64'
60-
- 'freebsd/arm'
61-
- 'openbsd/amd64'
62-
- 'openbsd/arm64'
49+
- "windows/amd64"
50+
- "windows/386"
51+
- "windows/arm64"
52+
- "linux/amd64"
53+
- "linux/386"
54+
- "linux/arm64"
55+
- "linux/arm"
56+
- "darwin/amd64"
57+
- "darwin/arm64"
58+
- "freebsd/386"
59+
- "freebsd/amd64"
60+
- "freebsd/arm"
61+
- "openbsd/amd64"
62+
- "openbsd/arm64"
6363
steps:
6464
- name: Checkout code
6565
uses: actions/checkout@v4
6666

6767
- name: Set up Go
6868
uses: actions/setup-go@v5
6969
with:
70-
go-version: '1.20'
70+
go-version: "1.22"
7171

7272
- name: Set up GOOS and GOARCH
7373
id: setup_env

0 commit comments

Comments
 (0)