Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go version to 1.22 🚀 #779

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build-images-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ jobs:
name: Build Bundle
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v3
Expand Down Expand Up @@ -165,10 +165,10 @@ jobs:
needs: [build, build-bundle]
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/code-style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ jobs:
importpath: golang.org/x/tools/cmd/goimports@latest

steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go

- name: Check out code
Expand Down Expand Up @@ -90,10 +90,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go

- name: Check out code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-alerts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Unit Tests
strategy:
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
defaults:
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -112,10 +112,10 @@ jobs:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -157,10 +157,10 @@ jobs:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -202,10 +202,10 @@ jobs:
run:
shell: bash
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -241,10 +241,10 @@ jobs:
name: Verify manifests
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -256,10 +256,10 @@ jobs:
name: Verify bundle
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -271,10 +271,10 @@ jobs:
name: Verify fmt
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -286,7 +286,7 @@ jobs:
name: Test Scripts
strategy:
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
defaults:
Expand All @@ -308,10 +308,10 @@ jobs:
name: Verify generate
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand All @@ -323,10 +323,10 @@ jobs:
name: Verify go.mod
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21.x
- name: Set up Go 1.22.x
uses: actions/setup-go@v4
with:
go-version: 1.21.x
go-version: 1.22.x
id: go
- name: Check out code
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21 as builder
FROM golang:1.22 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion doc/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* [operator-sdk] version v1.32.0
* [kind] version v0.23.0
* [git][git_tool]
* [go] version 1.21+
* [go] version 1.22+
* [kubernetes] version v1.19+
* [kubectl] version v1.19+

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/kuadrant-operator

go 1.21
go 1.22

require (
github.com/cert-manager/cert-manager v1.12.1
Expand Down
Loading