Skip to content

Commit

Permalink
ci: update go.yml workflow file and setup-go version
Browse files Browse the repository at this point in the history
- Update the `go.yml` workflow file
- Change the `actions/setup-go` version from v3 to v4
- Add `1.21` as a valid value for the `go` matrix variable

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Aug 18, 2023
1 parent 9c0c090 commit bb305e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '^1.16'
- name: Checkout repository
Expand All @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go: [1.18, 1.19, '1.20']
go: [1.18, 1.19, '1.20', 1.21]
include:
- os: ubuntu-latest
go-build: ~/.cache/go-build
Expand All @@ -40,7 +40,7 @@ jobs:
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

Expand Down

0 comments on commit bb305e6

Please sign in to comment.