From 1e86d3d9cc983bb84ee9f8eb0b922cc300d1cfff Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 8 Jan 2024 21:51:06 +0800 Subject: [PATCH] ci: update GitHub Actions workflows to use setup-go action v5 - Update the `setup-go` action from version 4 to version 5 in the Docker, Goreleaser, and Lint workflows Signed-off-by: Bo-Yi Wu --- .github/workflows/docker.yml | 2 +- .github/workflows/goreleaser.yml | 2 +- .github/workflows/lint.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 5dd5a4e..b139186 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '^1' - name: Checkout repository diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 68c3826..aac1243 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '^1' diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9e8c08a..5695ecf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: '^1' - name: Checkout repository