diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 112f362..b0fa3d8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -41,14 +41,14 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.x - uses: actions/setup-go@v3 - with: - go-version: ^1.17 - - name: Check out code into the Go module directory uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version-file: "go.mod" + - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3 with: