From c1e3c66250eecf268465c9fb217a3d0ff033b0d4 Mon Sep 17 00:00:00 2001 From: Matt Armstrong Date: Fri, 18 Jul 2025 13:12:42 -0700 Subject: [PATCH] Read the Go version from the go.mod file. --- .github/workflows/go.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 0ae4c4b..dc8e2dd 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,8 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.21 + # Read the Go version from the go.mod file. + go-version-file: go.mod - name: Build run: go build -v ./...