Skip to content

Commit

Permalink
Added a description that go-version should be specified as a string t…
Browse files Browse the repository at this point in the history
…ype (#367)
  • Loading branch information
n3xem committed Jun 5, 2023
1 parent a6259e5 commit 0e6baa5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 0e6baa5

Please sign in to comment.