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:
yxxhero 2023-02-04 08:57:52 +08:00 committed by GitHub
parent 9aadde6173
commit 652628c5ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/helmfile/helmfile
go 1.19
go 1.20
require (
github.com/Masterminds/semver/v3 v3.2.0