From 76f44191a783413841a81036c17226e885f03f69 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Tue, 7 Nov 2023 12:51:47 +0100 Subject: [PATCH] Bump Go to 1.20 --- .github/workflows/code-style.yaml | 8 ++++---- .github/workflows/e2e-test.yaml | 2 +- .github/workflows/go-test.yaml | 2 +- .github/workflows/integration-test.yaml | 2 +- Dockerfile | 2 +- docs/contributing.md | 2 +- go.mod | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/code-style.yaml b/.github/workflows/code-style.yaml index 42ddd817..38344971 100644 --- a/.github/workflows/code-style.yaml +++ b/.github/workflows/code-style.yaml @@ -40,10 +40,10 @@ jobs: importpath: golang.org/x/tools/cmd/goimports@latest steps: - - name: Set up Go 1.19.x + - name: Set up Go 1.20.x uses: actions/setup-go@v4 with: - go-version: 1.19.x + go-version: 1.20.x id: go - name: Check out code @@ -88,10 +88,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.19.x + - name: Set up Go 1.20.x uses: actions/setup-go@v4 with: - go-version: 1.19.x + go-version: 1.20.x id: go - name: Check out code diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index e49f29ac..e6e0f7f8 100644 --- a/.github/workflows/e2e-test.yaml +++ b/.github/workflows/e2e-test.yaml @@ -13,7 +13,7 @@ jobs: name: End-to-end Tests strategy: matrix: - go-version: [1.19.x] + go-version: [1.20.x] platform: [ubuntu-latest] authconfig_version: [v1beta1, v1beta2] runs-on: ${{ matrix.platform }} diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 6abe1d85..00189c04 100644 --- a/.github/workflows/go-test.yaml +++ b/.github/workflows/go-test.yaml @@ -12,7 +12,7 @@ jobs: name: Unit Tests strategy: matrix: - go-version: [1.19.x] + go-version: [1.20.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} defaults: diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 545a9d47..052319d1 100644 --- a/.github/workflows/integration-test.yaml +++ b/.github/workflows/integration-test.yaml @@ -12,7 +12,7 @@ jobs: name: Smoke Tests strategy: matrix: - go-version: [1.19.x] + go-version: [1.20.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} if: ${{ github.event.workflow_run.conclusion == 'success' }} diff --git a/Dockerfile b/Dockerfile index 20944aa9..70d7a8f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Build the authorino binary # https://catalog.redhat.com/software/containers/ubi9/go-toolset -FROM registry.access.redhat.com/ubi9/go-toolset:1.19 AS builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.20 AS builder USER root WORKDIR /usr/src/authorino COPY ./ ./ diff --git a/docs/contributing.md b/docs/contributing.md index 6eecda0e..3ed70453 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -19,7 +19,7 @@ ## Technology stack for developers Minimum requirements to contribute to Authorino are: -- [Golang v1.19+](https://golang.org) +- [Golang v1.20+](https://golang.org) - [Docker](https://docker.com) Authorino's code was originally bundled using the [Operator SDK](https://sdk.operatorframework.io/) (v1.9.0). diff --git a/go.mod b/go.mod index 115fce62..1c99a8cf 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kuadrant/authorino -go 1.19 +go 1.20 require ( github.com/authzed/authzed-go v0.7.0