Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

fix: use Go version from go.mod in Github actions #526

Merged
merged 3 commits into from
Jun 27, 2024
Merged

Conversation

rdmitr
Copy link
Collaborator

@rdmitr rdmitr commented Jun 27, 2024

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

The workaround, as suggested by actions/setup-go#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)

@rdmitr rdmitr requested a review from rolznz June 27, 2024 11:44
Copy link
Collaborator

@rolznz rolznz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@rolznz rolznz merged commit d12cb8e into master Jun 27, 2024
8 checks passed
@rolznz rolznz deleted the go-versions branch June 27, 2024 12:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants