Skip to content

Commit

Permalink
chore: update GitHub actions for Go and Goreleaser workflows
Browse files Browse the repository at this point in the history
- Update the version of `actions/setup-go` from v4 to v5 in the `.github/workflows/go.yml` file
- Update the version of `actions/setup-go` from v2 to v5 in the `.github/workflows/goreleaser.yml` file
- Update the version of `goreleaser/goreleaser-action` from v4 to v5 in the `.github/workflows/goreleaser.yml` file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
  • Loading branch information
appleboy committed Dec 11, 2023
1 parent 67e4044 commit f4afe99
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@v4
uses: actions/setup-go@v5
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@v4
uses: actions/setup-go@v5
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 @@ -17,11 +17,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ^1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
Expand Down

0 comments on commit f4afe99

Please sign in to comment.