Matthew Hughes 0348eaa37c Prefer installing version from toolchain directive
Prefer this over the version from the `go` directive. Per the docs[1]

> The toolchain line declares a suggested toolchain to use with the
module or workspace

It seems reasonable to use this, since running this action in a
directory containing a `go.mod` (or `go.work`) suggests the user is
wishing to work _with the module or workspace_.

Link: https://go.dev/doc/toolchain#config [1]
Issue: https://github.com/actions/setup-go/issues/457
2025-08-17 11:12:39 +01:00
..
2024-05-10 11:25:20 -05:00
2024-10-21 11:56:08 -05:00