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

Add note about YAML parsing versions #382

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ steps:
- run: go version
```

> **_NOTE:_** It is better to enclose the version in single quotation mark, due to YAML parsing. When the input is specified like this
> ```
> 1.20 or >=1.17.0
> ```
> 1.20 is parsed as a number and it is trimmed to 1.2 that is an expected behavior for numbers. You should specify input with quotes to treat
> it as a string.

dmitry-shibanov marked this conversation as resolved.
Show resolved Hide resolved
Matching an unstable pre-release:

```yaml
Expand Down