From e240a028308638c9c18ece15c2d70ee26ed87ece Mon Sep 17 00:00:00 2001 From: Niels Hofmans Date: Wed, 13 Mar 2024 18:08:53 +0100 Subject: [PATCH] chore(ci): fix test.yml --- .github/workflows/test.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c84727d..a6f5065 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,11 +11,12 @@ jobs: - id: vars run: | - echo ::set-output name=go_version::$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2) - echo "Using Go version ${{ steps.vars.outputs.go_version }}" + goVersion=$(grep '^FROM go' .github/go/Dockerfile | cut -d ' ' -f 2 | cut -d ':' -f 2) + echo "go_version=${goVersion}" >> $GITHUB_OUTPUT + echo "Using Go version ${goVersion}" - - name: Setup go - uses: actions/setup-go@v2 + name: Set up Go + uses: actions/setup-go@v5 with: go-version: ${{ steps.vars.outputs.go_version }} -