From 0769d0144b937ae51fbf6a603ed1d953c5c9fd6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Vincent?= <28714795+leovct@users.noreply.github.com> Date: Mon, 21 Oct 2024 18:21:05 +0200 Subject: [PATCH] ci: bump go version (#408) --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8eef51d..26465233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,11 +11,11 @@ concurrency: cancel-in-progress: true env: - GO_VERSION: "1.21" # https://go.dev/dl/ - STRINGER_VERSION: "0.26.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions + GO_VERSION: "1.22" # https://go.dev/dl/ + STRINGER_VERSION: "0.26.0" # https://pkg.go.dev/golang.org/x/tools/cmd/stringer?tab=versions # Protoc dependencies. - PROTOC_VERSION: "28.2" # https://github.com/protocolbuffers/protobuf/releases - PROTOC_GEN_GO_VERSION: "1.35.1" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions + PROTOC_VERSION: "28.2" # https://github.com/protocolbuffers/protobuf/releases + PROTOC_GEN_GO_VERSION: "1.35.1" # https://pkg.go.dev/google.golang.org/protobuf/cmd/protoc-gen-go?tab=versions PROTOC_GEN_GO_GRPC_VERSION: "1.5.1" # https://pkg.go.dev/google.golang.org/grpc/cmd/protoc-gen-go-grpc?tab=versions ARCH: "linux-x86_64" @@ -143,7 +143,7 @@ jobs: - uses: actions/setup-go@v5 with: go-version: ${{ env.GO_VERSION }} - + - name: Install dependencies run: go get - name: Install polycli using go diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0f51451..96490109 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ permissions: contents: write env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" jobs: manual-release: diff --git a/Dockerfile b/Dockerfile index 5da4b3db..f5454383 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder WORKDIR /workspace COPY go.mod go.sum ./ RUN go mod download