diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index dfd5735b..bd4cb9ba 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 7fef672b..2211a8b7 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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 diff --git a/.github/workflows/publish_binaries.yaml b/.github/workflows/publish_binaries.yaml index aee35017..4e8dd9f2 100644 --- a/.github/workflows/publish_binaries.yaml +++ b/.github/workflows/publish_binaries.yaml @@ -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 diff --git a/.github/workflows/publish_v1_binaries.yml b/.github/workflows/publish_v1_binaries.yml index 31567537..95d374d0 100644 --- a/.github/workflows/publish_v1_binaries.yml +++ b/.github/workflows/publish_v1_binaries.yml @@ -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 diff --git a/.github/workflows/test_binary_builds.yaml b/.github/workflows/test_binary_builds.yaml index a9abebe2..ec1c0185 100644 --- a/.github/workflows/test_binary_builds.yaml +++ b/.github/workflows/test_binary_builds.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile index 056f1935..4b55f8ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.debian-stable-slim b/Dockerfile.debian-stable-slim index 323c333b..9ce0f5d6 100644 --- a/Dockerfile.debian-stable-slim +++ b/Dockerfile.debian-stable-slim @@ -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 diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 3b6e88b1..f72f73ae 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -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 diff --git a/go.mod b/go.mod index 4cbd5037..d54cd9c4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/helmfile/helmfile -go 1.19 +go 1.20 require ( github.com/Masterminds/semver/v3 v3.2.0