Bump Go to 1.20 (#672)
* bump go 1.20 Signed-off-by: yxxhero <aiopsclub@163.com> * use go-version: ^1.20 Signed-off-by: yxxhero <aiopsclub@163.com> * bump go 1.20 Signed-off-by: yxxhero <aiopsclub@163.com> * fix go version Signed-off-by: yxxhero <aiopsclub@163.com> * fix go version Signed-off-by: yxxhero <aiopsclub@163.com> --------- Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
		
							parent
							
								
									9aadde6173
								
							
						
					
					
						commit
						652628c5ee
					
				|  | @ -28,9 +28,9 @@ jobs: | |||
|           ${{ runner.os }}-build- | ||||
|           ${{ runner.os }}- | ||||
|     - name: Set up Go | ||||
|       uses: actions/setup-go@v2 | ||||
|       uses: actions/setup-go@v3 | ||||
|       with: | ||||
|         go-version: 1.19 | ||||
|         go-version: '1.20' | ||||
|     - name: Env | ||||
|       run: go env | ||||
|     - name: Build | ||||
|  | @ -116,9 +116,9 @@ jobs: | |||
|           ${{ runner.os }}-build- | ||||
|           ${{ runner.os }}- | ||||
|     - name: Set up Go | ||||
|       uses: actions/setup-go@v2 | ||||
|       uses: actions/setup-go@v3 | ||||
|       with: | ||||
|         go-version: 1.19 | ||||
|         go-version: '1.20' | ||||
|     - name: Env | ||||
|       run: go env | ||||
| 
 | ||||
|  |  | |||
|  | @ -9,7 +9,7 @@ on: | |||
|     paths-ignore: [ '**.md', '**/docs/**' ] | ||||
| 
 | ||||
| env: | ||||
|   GO_VERSION: 1.19 | ||||
|   GO_VERSION: 1.20 | ||||
| 
 | ||||
| jobs: | ||||
|   lint: | ||||
|  | @ -19,7 +19,7 @@ jobs: | |||
|     steps: | ||||
|       - uses: actions/setup-go@v3 | ||||
|         with: | ||||
|           go-version: 1.19 | ||||
|           go-version: '1.20' | ||||
| 
 | ||||
|       - name: Checkout code | ||||
|         uses: actions/checkout@v3 | ||||
|  | @ -27,4 +27,4 @@ jobs: | |||
|       - name: Golangci lint | ||||
|         uses: golangci/golangci-lint-action@v3 | ||||
|         with: | ||||
|           version: v1.50.1 | ||||
|           version: v1.51.0 | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ jobs: | |||
|         name: Set up Go | ||||
|         uses: actions/setup-go@v3 | ||||
|         with: | ||||
|           go-version: 1.19 | ||||
|           go-version: '1.20' | ||||
|       - | ||||
|         name: Run GoReleaser | ||||
|         uses: goreleaser/goreleaser-action@v1 | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ jobs: | |||
|         name: Set up Go | ||||
|         uses: actions/setup-go@v3 | ||||
|         with: | ||||
|           go-version: 1.19 | ||||
|           go-version: '1.20' | ||||
|       - | ||||
|         name: Run GoReleaser | ||||
|         uses: goreleaser/goreleaser-action@v1 | ||||
|  |  | |||
|  | @ -17,7 +17,7 @@ jobs: | |||
|         name: Set up Go | ||||
|         uses: actions/setup-go@v3 | ||||
|         with: | ||||
|           go-version: 1.19 | ||||
|           go-version: '1.20' | ||||
|       - | ||||
|         name: Run GoReleaser | ||||
|         uses: goreleaser/goreleaser-action@v1 | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| FROM golang:1.19.2-alpine as builder | ||||
| FROM golang:1.20-alpine as builder | ||||
| 
 | ||||
| RUN apk add --no-cache make git | ||||
| WORKDIR /workspace/helmfile | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| FROM golang:1.19.2-alpine as builder | ||||
| FROM golang:1.20-alpine as builder | ||||
| 
 | ||||
| RUN apk add --no-cache make git | ||||
| WORKDIR /workspace/helmfile | ||||
|  |  | |||
|  | @ -1,4 +1,4 @@ | |||
| FROM golang:1.19.2-alpine as builder | ||||
| FROM golang:1.20-alpine as builder | ||||
| 
 | ||||
| RUN apk add --no-cache make git | ||||
| WORKDIR /workspace/helmfile | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue