From 0e6baa5a93f7d14e9e175bacc1338faa5b9bc924 Mon Sep 17 00:00:00 2001 From: yukyan <40577403+n3xem@users.noreply.github.com> Date: Mon, 5 Jun 2023 20:06:05 +0900 Subject: [PATCH] Added a description that go-version should be specified as a string type (#367) --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eb4f9dd..3d280b8 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ input for the action: uses: actions/setup-go@v4 with: token: ${{ secrets.GH_DOTCOM_TOKEN }} - go-version: 1.18 + go-version: '1.18' ``` If the runner is not able to access github.com, any Go versions requested during a workflow run must come from the diff --git a/action.yml b/action.yml index e135289..12b47b6 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ description: 'Setup a Go environment and add it to the PATH' author: 'GitHub' inputs: go-version: - description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges.' + description: 'The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks.' go-version-file: description: 'Path to the go.mod or go.work file.' check-latest: