From f4afe9944b9cd062512766aecf07239658ae75db Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 11 Dec 2023 21:36:41 +0800 Subject: [PATCH] chore: update GitHub actions for Go and Goreleaser workflows - 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 --- .github/workflows/go.yml | 4 ++-- .github/workflows/goreleaser.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index fe3cd1b..9708016 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -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 }} diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index d0d4a5b..4e5d5ed 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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