Merge pull request #420 from chenrui333/go-1.19

deps: build with go1.19
This commit is contained in:
yxxhero 2022-10-10 08:31:27 +08:00 committed by GitHub
commit 0c205771ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 11 additions and 11 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Env
run: go env
- name: Build
@ -94,7 +94,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.19
- name: Env
run: go env

View File

@ -7,7 +7,7 @@ on:
branches: [ main ]
env:
GO_VERSION: 1.18
GO_VERSION: 1.19
jobs:
lint:
@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Checkout code
uses: actions/checkout@v3
@ -25,4 +25,4 @@ jobs:
- name: Golangci lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.48.0
version: v1.48.0

View File

@ -18,7 +18,7 @@ jobs:
name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ~1.18.1
go-version: 1.19
-
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.18.1
go-version: 1.19
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1

View File

@ -1,4 +1,4 @@
FROM golang:1.18.0-alpine as builder
FROM golang:1.19.2-alpine as builder
RUN apk add --no-cache make git
WORKDIR /workspace/helmfile

View File

@ -1,4 +1,4 @@
FROM golang:1.18.0-alpine as builder
FROM golang:1.19.2-alpine as builder
RUN apk add --no-cache make git
WORKDIR /workspace/helmfile

View File

@ -1,4 +1,4 @@
FROM golang:1.18.0-alpine as builder
FROM golang:1.19.2-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.18
go 1.19
require (
github.com/Masterminds/semver/v3 v3.1.1