From 1ad0af75e749cc1885111ba8f44eadbefe1d1519 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Tue, 20 Jun 2023 11:52:13 +0200 Subject: [PATCH] Upgrade to Golang v1.19.x --- .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 15cbcadc..e42614c3 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.18.x + - name: Set up Go 1.19.x uses: actions/setup-go@v2 with: - go-version: 1.18.x + go-version: 1.19.x id: go - name: Check out code @@ -88,10 +88,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18.x + - name: Set up Go 1.19.x uses: actions/setup-go@v2 with: - go-version: 1.18.x + go-version: 1.19.x id: go - name: Check out code diff --git a/.github/workflows/e2e-test.yaml b/.github/workflows/e2e-test.yaml index 4e706290..37a3e523 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.18.x] + go-version: [1.19.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} defaults: diff --git a/.github/workflows/go-test.yaml b/.github/workflows/go-test.yaml index 652c842e..b9821be0 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.18.x] + go-version: [1.19.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} defaults: diff --git a/.github/workflows/integration-test.yaml b/.github/workflows/integration-test.yaml index 5e1bce56..fcdad4a7 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.18.x] + go-version: [1.19.x] platform: [ubuntu-latest] runs-on: ${{ matrix.platform }} if: ${{ github.event.workflow_run.conclusion == 'success' }} diff --git a/Dockerfile b/Dockerfile index c66b8a32..20944aa9 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.18 AS builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.19 AS builder USER root WORKDIR /usr/src/authorino COPY ./ ./ diff --git a/docs/contributing.md b/docs/contributing.md index 3ceed9be..2b717e2a 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.18+](https://golang.org) +- [Golang v1.19+](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 2281de3d..4b146505 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/kuadrant/authorino -go 1.18 +go 1.19 require ( github.com/authzed/authzed-go v0.7.0