Skip to content

Commit

Permalink
Merge pull request #117 from Kuadrant/go-1-19
Browse files Browse the repository at this point in the history
Upgrade to Golang v1.19.x
  • Loading branch information
guicassolato committed Jun 20, 2023
2 parents fa141be + 6bb91c1 commit 30fb663
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
runs-on: ubuntu-20.04
if: github.ref_name == 'main' || startsWith(github.ref, 'refs/tags/v') # We cannot use `env.MAIN_BRANCH_NAME` because `env` context is not available to `job.if`. See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
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
uses: actions/checkout@v2
Expand Down Expand Up @@ -153,10 +153,10 @@ jobs:
runs-on: ubuntu-20.04
if: github.ref_name == 'main' || startsWith(github.ref, 'refs/tags/v') # We cannot use `env.MAIN_BRANCH_NAME` because `env` context is not available to `job.if`. See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
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
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
name: Test Scripts
strategy:
matrix:
go-version: [1.18.x]
go-version: [1.19.x]
platform: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
defaults:
Expand All @@ -64,7 +64,7 @@ jobs:
name: Unit Tests
strategy:
matrix:
go-version: [1.18.x]
go-version: [1.19.x]
platform: [ ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.platform }}
defaults:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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 /workspace

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/kuadrant/authorino-operator

go 1.18
go 1.19

require (
github.com/go-logr/logr v1.2.0
Expand Down

0 comments on commit 30fb663

Please sign in to comment.