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 ./...