Skip to content

Commit

Permalink
chore: update Go workflows and version in goreleaser.yml
Browse files Browse the repository at this point in the history
- Update the `go.yml` workflow to use `actions/setup-go@v4` instead of `actions/setup-go@v3`
- Update the `goreleaser.yml` workflow to use `actions/setup-go@v4` instead of `actions/setup-go@v2`
- Change the `go-version` in the `goreleaser.yml` workflow from `1.17` to `1.18`

Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Sep 8, 2023
1 parent 800440a commit 9138b26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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@v3
uses: actions/setup-go@v4
with:
go-version: '^1.16'
- 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@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.17
go-version: 1.18
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
Expand Down

0 comments on commit 9138b26

Please sign in to comment.