Skip to content

Commit

Permalink
chore: update Go version in GitHub Actions workflows
Browse files Browse the repository at this point in the history
- Update the `go.yml` file in the `.github/workflows` directory
- Change the `actions/setup-go` version from `v4` to `v5`
- Update the `goreleaser.yml` file in the `.github/workflows` directory
- Change the `actions/setup-go` version from `v4` to `v5`

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Dec 11, 2023
1 parent e09f454 commit a8c915f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 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@v4
uses: actions/setup-go@v5
with:
go-version: "^1.21"
- name: Checkout repository
Expand All @@ -40,7 +40,7 @@ jobs:
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.21"
- name: Run GoReleaser
Expand Down

0 comments on commit a8c915f

Please sign in to comment.