diff --git a/README.md b/README.md index 3d280b8..7172d38 100644 --- a/README.md +++ b/README.md @@ -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. + Matching an unstable pre-release: ```yaml