Skip to content

Commit cd336fa

Browse files
committed
ci: enhance Go version compatibility in CI workflow
- Update Go version pattern to match any version starting with 1 in GitHub Actions workflow - Add Go 1.22 to the testing matrix in GitHub Actions workflow Signed-off-by: appleboy <[email protected]>
1 parent 95350ab commit cd336fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup go
1616
uses: actions/setup-go@v5
1717
with:
18-
go-version: '^1.18'
18+
go-version: '^1'
1919
- name: Checkout repository
2020
uses: actions/checkout@v4
2121
- name: Setup golangci-lint
@@ -26,7 +26,7 @@ jobs:
2626
strategy:
2727
matrix:
2828
os: [ubuntu-latest]
29-
go: [1.18, 1.19, '1.20', 1.21]
29+
go: [1.18, 1.19, '1.20', 1.21, 1.22]
3030
include:
3131
- os: ubuntu-latest
3232
go-build: ~/.cache/go-build

0 commit comments

Comments
 (0)