From ca9f76c90142f1500e4261781a06495be4f2d197 Mon Sep 17 00:00:00 2001 From: Michael Gasch <15986659+embano1@users.noreply.github.com> Date: Wed, 10 May 2023 08:54:43 +0200 Subject: [PATCH] chore: bump setup-go to v4 Signed-off-by: Michael Gasch <15986659+embano1@users.noreply.github.com> --- .github/workflows/lint.yaml | 9 ++++++--- .github/workflows/release.yaml | 10 +++++----- .github/workflows/tests.yaml | 10 +++++----- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 0ef9a25..d5c9dc8 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -17,11 +17,14 @@ jobs: name: lint runs-on: ubuntu-latest steps: + - name: Check out code + uses: actions/checkout@v3 + - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 - - uses: actions/checkout@v3 + go-version: "1.20" + - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3df1e91..10a1d41 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -13,13 +13,13 @@ jobs: timeout-minutes: 10 steps: - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.19 - - name: Check out code uses: actions/checkout@v3 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: "1.20" - name: Get short TAG run: | diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d48fc8c..69a7399 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -12,22 +12,22 @@ jobs: name: Go Tests strategy: matrix: - go-version: ["1.16", "1.17", "1.18", "1.19"] + go-version: ["1.17", "1.18", "1.19", "1.20"] platform: ["ubuntu-latest", "windows-latest"] runs-on: ${{ matrix.platform }} timeout-minutes: 10 steps: + - name: Check out code + uses: actions/checkout@v3 + - name: Set up Go ${{ matrix.go-version }} - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} id: go - - name: Check out code - uses: actions/checkout@v3 - - name: Install tparse run: go install github.com/mfridman/tparse@latest