Skip to content

Commit

Permalink
ci: enhance Go version compatibility in CI workflow
Browse files Browse the repository at this point in the history
- 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 <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Feb 12, 2024
1 parent 95350ab commit cd336fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '^1.18'
go-version: '^1'
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup golangci-lint
Expand All @@ -26,7 +26,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go: [1.18, 1.19, '1.20', 1.21]
go: [1.18, 1.19, '1.20', 1.21, 1.22]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
Expand Down

0 comments on commit cd336fa

Please sign in to comment.