From 9d5162c2217aab416719c4a3f7fd2d3baf9345d1 Mon Sep 17 00:00:00 2001 From: nohehf Date: Wed, 25 Sep 2024 10:37:30 +0200 Subject: [PATCH] chore: update actions:setup go to v4 --- .github/workflows/build-test.yaml | 7 +++---- .github/workflows/release.yaml | 5 +++-- .github/workflows/update.yaml | 6 ++++++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test.yaml b/.github/workflows/build-test.yaml index cae56b9..5f6175c 100644 --- a/.github/workflows/build-test.yaml +++ b/.github/workflows/build-test.yaml @@ -11,14 +11,13 @@ jobs: name: Test Builds strategy: matrix: - go-version: [1.22.x] os: [ubuntu-latest] runs-on: ${{ matrix.os }} steps: - - name: Set up Go - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: ${{ matrix.go-version }} + go-version: "1.22" + cache: false - name: Check out code uses: actions/checkout@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8afaa8b..5943ab9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,9 +15,10 @@ jobs: with: fetch-depth: 0 - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v4 with: - go-version: 1.22.x + go-version: "1.22" + cache: false - uses: goreleaser/goreleaser-action@v4 with: diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index ab76084..c99a9d9 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -10,6 +10,12 @@ jobs: runs-on: ubuntu-latest steps: + + - uses: actions/setup-go@v4 + with: + go-version: "1.22" + cache: false + - name: Checkout code uses: actions/checkout@v3 with: