From 7cc4e77c2f11d05199867c0e845dcc9f20220601 Mon Sep 17 00:00:00 2001 From: Chunyi Lyu Date: Wed, 7 Sep 2022 13:35:17 +0100 Subject: [PATCH] Bump golang to 1.19 --- .github/workflows/pr.yml | 2 +- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2ee67e46..6f98df06 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -29,7 +29,7 @@ jobs: uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: '^1.17.0' # Require Go 1.16 and above, but lower than Go 2.0.0 + go-version: '^1.19.0' # Require Go 1.16 and above, but lower than Go 2.0.0 - name: System tests env: K8S_VERSION: ${{ matrix.k8s }} diff --git a/Dockerfile b/Dockerfile index 05a5daea..a1d0423a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM golang:1.17 as builder +FROM golang:1.19 as builder WORKDIR /workspace # Copy the Go Modules manifests diff --git a/go.mod b/go.mod index 90484ee2..18c84355 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/rabbitmq/messaging-topology-operator -go 1.17 +go 1.19 require ( github.com/cloudflare/cfssl v1.6.2