From 640041ec33b143c9ee4247d4d20a07f46e496432 Mon Sep 17 00:00:00 2001 From: Jeff Hodges Date: Wed, 18 May 2022 01:11:16 -0700 Subject: [PATCH] use setup-go's new go-version-file config My hacky solution to https://github.com/actions/setup-go/issues/23 has been addressed in actions/setup-go proper. And it can use go.mod directly! --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7b7eb41f..ee049d72 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 with: - go-version: ${{ steps.go_versions.outputs.go_version }} + go-version-file: "go.mod" id: go - name: Install test dependencies