chore: use go-version-file to read go-version from go.mod
Description
go-version can be read directly from .go-version or go.mod files using go-version-file in setup-go.
This PR uses .go-version to setup-go and allows the removal 'goversion' steps
Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: ivanvc, mmorel-35 Once this PR has been reviewed and has the lgtm label, please assign ahrtr for approval. For more information see the Code Review Process.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment
By the way, I just checked, and our gofail and raft repositories have the same way of defining the go version. I believe it comes from the original workflows from the etcd repository. Feel free to update those as well :)
OK ! I will.