Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrap the go version in single quotation #73

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

sonbui00
Copy link
Contributor

From https://github.com/actions/setup-go

Note: Due to the peculiarities of YAML parsing, it is recommended to wrap the version in single quotation marks:

  go-version: '1.20'

The recommendation is based on the YAML parser's behavior, which interprets non-wrapped values as numbers and, in the case of version 1.20, trims it down to 1.2, which may not be very obvious.
Matching an unstable pre-release:

@sonbui00 sonbui00 marked this pull request as ready for review August 15, 2023 09:17
@rajatjindal
Copy link
Owner

thank you very much for the PR @sonbui00

@rajatjindal rajatjindal merged commit ad6e92e into rajatjindal:main Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants