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 }}-build- | ||||||
|           ${{ runner.os }}- |           ${{ runner.os }}- | ||||||
|     - name: Set up Go |     - name: Set up Go | ||||||
|       uses: actions/setup-go@v2 |       uses: actions/setup-go@v3 | ||||||
|       with: |       with: | ||||||
|         go-version: 1.19 |         go-version: '1.20' | ||||||
|     - name: Env |     - name: Env | ||||||
|       run: go env |       run: go env | ||||||
|     - name: Build |     - name: Build | ||||||
|  | @ -116,9 +116,9 @@ jobs: | ||||||
|           ${{ runner.os }}-build- |           ${{ runner.os }}-build- | ||||||
|           ${{ runner.os }}- |           ${{ runner.os }}- | ||||||
|     - name: Set up Go |     - name: Set up Go | ||||||
|       uses: actions/setup-go@v2 |       uses: actions/setup-go@v3 | ||||||
|       with: |       with: | ||||||
|         go-version: 1.19 |         go-version: '1.20' | ||||||
|     - name: Env |     - name: Env | ||||||
|       run: go env |       run: go env | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -9,7 +9,7 @@ on: | ||||||
|     paths-ignore: [ '**.md', '**/docs/**' ] |     paths-ignore: [ '**.md', '**/docs/**' ] | ||||||
| 
 | 
 | ||||||
| env: | env: | ||||||
|   GO_VERSION: 1.19 |   GO_VERSION: 1.20 | ||||||
| 
 | 
 | ||||||
| jobs: | jobs: | ||||||
|   lint: |   lint: | ||||||
|  | @ -19,7 +19,7 @@ jobs: | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/setup-go@v3 |       - uses: actions/setup-go@v3 | ||||||
|         with: |         with: | ||||||
|           go-version: 1.19 |           go-version: '1.20' | ||||||
| 
 | 
 | ||||||
|       - name: Checkout code |       - name: Checkout code | ||||||
|         uses: actions/checkout@v3 |         uses: actions/checkout@v3 | ||||||
|  | @ -27,4 +27,4 @@ jobs: | ||||||
|       - name: Golangci lint |       - name: Golangci lint | ||||||
|         uses: golangci/golangci-lint-action@v3 |         uses: golangci/golangci-lint-action@v3 | ||||||
|         with: |         with: | ||||||
|           version: v1.50.1 |           version: v1.51.0 | ||||||
|  |  | ||||||
|  | @ -18,7 +18,7 @@ jobs: | ||||||
|         name: Set up Go |         name: Set up Go | ||||||
|         uses: actions/setup-go@v3 |         uses: actions/setup-go@v3 | ||||||
|         with: |         with: | ||||||
|           go-version: 1.19 |           go-version: '1.20' | ||||||
|       - |       - | ||||||
|         name: Run GoReleaser |         name: Run GoReleaser | ||||||
|         uses: goreleaser/goreleaser-action@v1 |         uses: goreleaser/goreleaser-action@v1 | ||||||
|  |  | ||||||
|  | @ -22,7 +22,7 @@ jobs: | ||||||
|         name: Set up Go |         name: Set up Go | ||||||
|         uses: actions/setup-go@v3 |         uses: actions/setup-go@v3 | ||||||
|         with: |         with: | ||||||
|           go-version: 1.19 |           go-version: '1.20' | ||||||
|       - |       - | ||||||
|         name: Run GoReleaser |         name: Run GoReleaser | ||||||
|         uses: goreleaser/goreleaser-action@v1 |         uses: goreleaser/goreleaser-action@v1 | ||||||
|  |  | ||||||
|  | @ -17,7 +17,7 @@ jobs: | ||||||
|         name: Set up Go |         name: Set up Go | ||||||
|         uses: actions/setup-go@v3 |         uses: actions/setup-go@v3 | ||||||
|         with: |         with: | ||||||
|           go-version: 1.19 |           go-version: '1.20' | ||||||
|       - |       - | ||||||
|         name: Run GoReleaser |         name: Run GoReleaser | ||||||
|         uses: goreleaser/goreleaser-action@v1 |         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 | RUN apk add --no-cache make git | ||||||
| WORKDIR /workspace/helmfile | 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 | RUN apk add --no-cache make git | ||||||
| WORKDIR /workspace/helmfile | 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 | RUN apk add --no-cache make git | ||||||
| WORKDIR /workspace/helmfile | WORKDIR /workspace/helmfile | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue