From 54cc82618ba2df8e085d18d63e64a11818ea5382 Mon Sep 17 00:00:00 2001 From: Sergey-Murtazin Date: Thu, 18 Nov 2021 19:25:24 +0300 Subject: [PATCH] Supported version syntax only in Usage part --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3d75410..bfe6c16 100644 --- a/README.md +++ b/README.md @@ -42,13 +42,6 @@ steps: - run: go version ``` -### Supported version syntax -The `go-version` input supports the following syntax: - -Specific versions: `1.15`, `1.16.1`, `1.16.x` -SemVer's version range syntax: `^1.13.1` -For more information about semantic versioning please refer [semver](https://github.com/npm/node-semver) documentation - # Usage See [action.yml](action.yml) @@ -81,11 +74,12 @@ jobs: - run: go run hello.go ``` -#### Supported version syntax +### Supported version syntax The `go-version` input supports the following syntax: -major versions: `12`, `14`, `16` -more specific versions: `10.15`, `14.2.0`, `16.3.0` +Specific versions: `1.15`, `1.16.1`, `1.16.x` +SemVer's version range syntax: `^1.13.1` +For more information about semantic versioning please refer [semver](https://github.com/npm/node-semver) documentation # License