From bbc30eec5a87a131a959acf497743a779d28add8 Mon Sep 17 00:00:00 2001 From: Jan Baraniewski Date: Sun, 12 May 2024 22:07:48 +0200 Subject: [PATCH] Update setup-go action version --- .github/workflows/pre-release.yml | 4 ++-- .github/workflows/test.yml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 64d5e09b..d7e9aeb7 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -14,9 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.18 + go-version: '1.22' - name: "Test" run: make test - name: "Test code gen" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5722234d..45b2098e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -115,7 +115,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 + - name: Set up Go + uses: actions/setup-go@v5 with: go-version: '1.22' - name: golangci-lint @@ -128,9 +129,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.22 + go-version: '1.22' - name: Test run: make test - name: Upload coverage