Added a description that go-version should be specified as a string type (#367)
This commit is contained in:
		
							parent
							
								
									a6259e5d50
								
							
						
					
					
						commit
						0e6baa5a93
					
				| @ -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 | ||||
|  | ||||
| @ -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: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user