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 }} -