Description
It is possible to use the Go version from the go.mod file with the actions/setup-go@v5 step in our GitHub Actions workflows:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
By always using the Go version specified in go.mod, we will no longer need to manually update the Go version in our GitHub Actions when the project’s Go version changes.
The goal of this issue is to update all workflows using actions/setup-go to retrieve the Go version from go.mod.
Description
It is possible to use the Go version from the
go.modfile with theactions/setup-go@v5step in our GitHub Actions workflows:By always using the Go version specified in
go.mod, we will no longer need to manually update the Go version in our GitHub Actions when the project’s Go version changes.The goal of this issue is to update all workflows using
actions/setup-goto retrieve the Go version fromgo.mod.