From 9138b264d20082f14cc0a0aaef0625fc3389149c Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Fri, 8 Sep 2023 22:25:35 +0800 Subject: [PATCH] chore: update Go workflows and version in goreleaser.yml - 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 --- .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 3b7640d..361701d 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@v3 + uses: actions/setup-go@v4 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@v3 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go }} diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 6862c65..71447aa 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -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