From ed6e063c23ee1286003218af7ea3f242d64a0c6f Mon Sep 17 00:00:00 2001 From: Juri Berlanda Date: Sun, 22 Dec 2024 15:49:25 +0100 Subject: [PATCH] [CI] Update steup-go. Signed-off-by: Juri Berlanda --- .github/workflows/test.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index e2dc724..175f55c 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,9 +3,6 @@ name: Test on: push: -env: - GO_VERSION: "1.22" - jobs: golangci: runs-on: ubuntu-latest @@ -13,9 +10,9 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'go.mod' cache: false - name: golangci-lint @@ -31,10 +28,9 @@ jobs: - name: Check out code uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: ${{ env.GO_VERSION }} + go-version-file: 'go.mod' - name: Test run: make test