Skip to content

Commit

Permalink
refactor(deps): bump go from 1.21 to 1.22 (#853)
Browse files Browse the repository at this point in the history
* refactor(deps): bump go from 1.21 to 1.22

Signed-off-by: Shubham Gupta <[email protected]>

* ci: bump go version

Signed-off-by: Shubham Gupta <[email protected]>

* update

---------

Signed-off-by: Shubham Gupta <[email protected]>
Co-authored-by: drivebyer <[email protected]>
  • Loading branch information
shubham-cmyk and drivebyer authored Nov 14, 2024
1 parent 0eac383 commit c6fcdb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
contents: read

env:
GOLANG_VERSION: 1.21
GOLANG_VERSION: 1.22
APPLICATION_NAME: redis-operator
DockerImagName: docker.io/opstree/redis-operator
BuildDocs: true
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ linters:

run:
timeout: 15m
go: "1.21"
go: "1.22"
tests: true
show-stats: true
skip-files:
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

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_scan_container_image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
ARG BUILDOS
ARG BUILDPLATFORM
ARG BUILDARCH
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/OT-CONTAINER-KIT/redis-operator

go 1.21
go 1.22

require (
github.com/banzaicloud/k8s-objectmatcher v1.8.0
Expand Down

0 comments on commit c6fcdb7

Please sign in to comment.