This is intended to ensure consistency of Go versions in go.mod and in Github actions and releases, as well as to fix tar warnings originating from the setup-go action:
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
This is intended to ensure consistency of Go versions in go.mod and in Github actions and releases, as well as to fix tar warnings originating from the setup-go action:
The workaround, as suggested by https://github.com/actions/setup-go/issues/424, is to use exactly the same version of Go in the Github actions as the one specified in go.mod.
Additionally, this PR removes the
toolchain
directive from go.mod as unneeded (and it also causes the tar error mentioned above)