chore(go): upgrading to v1.22

Signed-off-by: Dario Tranchitella <dario@tranchitella.eu>
This commit is contained in:
Dario Tranchitella
2024-04-18 09:56:35 +02:00
parent dc3d5060ca
commit f3d95add5b
4 changed files with 7 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3.2.0
@@ -31,7 +31,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
- run: make yaml-installation-file
- name: Checking if YAML installer file is not aligned

View File

@@ -38,7 +38,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '1.21'
go-version: '1.22'
check-latest: true
- run: |
sudo apt-get update

View File

@@ -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

4
go.mod
View File

@@ -1,6 +1,8 @@
module github.com/clastix/kamaji
go 1.21
go 1.22.0
toolchain go1.22.1
require (
github.com/JamesStewy/go-mysqldump v0.2.2