Merge pull request #210 from vsafonkin/v-vsafonkin/update-readme-v3
Update README to v3
This commit is contained in:
		
						commit
						8e9a229830
					
				
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							| @ -11,12 +11,11 @@ This action sets up a go environment for use in actions by: | |||||||
| - optionally downloading and caching a version of Go by version and adding to PATH | - optionally downloading and caching a version of Go by version and adding to PATH | ||||||
| - registering problem matchers for error output | - registering problem matchers for error output | ||||||
| 
 | 
 | ||||||
| # V2 | # V3 | ||||||
| 
 | 
 | ||||||
| The V2 offers: | The V3 offers: | ||||||
| - Adds GOBIN to the PATH | - Adds GOBIN to the PATH | ||||||
| - Proxy Support | - Proxy Support | ||||||
| - `stable` input  |  | ||||||
| - Check latest version | - Check latest version | ||||||
| - Bug Fixes (including issues around version matching and semver) | - Bug Fixes (including issues around version matching and semver) | ||||||
| 
 | 
 | ||||||
| @ -26,7 +25,7 @@ Matching by [semver spec](https://github.com/npm/node-semver): | |||||||
| ```yaml | ```yaml | ||||||
| steps: | steps: | ||||||
|   - uses: actions/checkout@v2 |   - uses: actions/checkout@v2 | ||||||
|   - uses: actions/setup-go@v2 |   - uses: actions/setup-go@v3 | ||||||
|     with: |     with: | ||||||
|       go-version: '^1.13.1' # The Go version to download (if necessary) and use. |       go-version: '^1.13.1' # The Go version to download (if necessary) and use. | ||||||
|   - run: go version |   - run: go version | ||||||
| @ -36,7 +35,7 @@ Matching an unstable pre-release: | |||||||
| ```yaml | ```yaml | ||||||
| steps: | steps: | ||||||
|   - uses: actions/checkout@v2 |   - uses: actions/checkout@v2 | ||||||
|   - uses: actions/setup-go@v2 |   - uses: actions/setup-go@v3 | ||||||
|     with: |     with: | ||||||
|       stable: 'false' |       stable: 'false' | ||||||
|       go-version: '1.14.0-rc1' # The Go version to download (if necessary) and use. |       go-version: '1.14.0-rc1' # The Go version to download (if necessary) and use. | ||||||
| @ -51,7 +50,7 @@ See [action.yml](action.yml) | |||||||
| ```yaml | ```yaml | ||||||
| steps: | steps: | ||||||
|   - uses: actions/checkout@v2 |   - uses: actions/checkout@v2 | ||||||
|   - uses: actions/setup-go@v2 |   - uses: actions/setup-go@v3 | ||||||
|     with: |     with: | ||||||
|       go-version: '1.16.1' # The Go version to download (if necessary) and use. |       go-version: '1.16.1' # The Go version to download (if necessary) and use. | ||||||
|   - run: go run hello.go |   - run: go run hello.go | ||||||
| @ -69,7 +68,7 @@ If `check-latest` is set to `true`, the action first checks if the cached versio | |||||||
| ```yaml | ```yaml | ||||||
| steps: | steps: | ||||||
|   - uses: actions/checkout@v2 |   - uses: actions/checkout@v2 | ||||||
|   - uses: actions/setup-go@v2 |   - uses: actions/setup-go@v3 | ||||||
|     with: |     with: | ||||||
|       go-version: '1.14' |       go-version: '1.14' | ||||||
|       check-latest: true |       check-latest: true | ||||||
| @ -88,7 +87,7 @@ jobs: | |||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|       - name: Setup go |       - name: Setup go | ||||||
|         uses: actions/setup-go@v2 |         uses: actions/setup-go@v3 | ||||||
|         with: |         with: | ||||||
|           go-version: ${{ matrix.go }} |           go-version: ${{ matrix.go }} | ||||||
|       - run: go run hello.go |       - run: go run hello.go | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user