Skip to content

Commit

Permalink
golang: toolchain: bump to 1.22.1
Browse files Browse the repository at this point in the history
bump golang toolchain to 1.22.1 everywhere

Signed-off-by: Francesco Romani <fromani@redhat.com>
  • Loading branch information
ffromani committed Mar 27, 2024
1 parent a0cf55c commit 1ba8432
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cibuild.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Verify modules
run: go mod verify
2 changes: 1 addition & 1 deletion .github/workflows/ciformat.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: format
run: ./hack/check-format.sh
2 changes: 1 addition & 1 deletion .github/workflows/cilint-custom.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Fetch golangci-lint
run: |
2 changes: 1 addition & 1 deletion .github/workflows/cilint.yml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Verify
uses: golangci/golangci-lint-action@v2
2 changes: 1 addition & 1 deletion .github/workflows/civerify-commit.yml
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Get branch name (pull request)
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/e2e-local.yaml
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Verify modules
run: go mod verify
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tools.yml
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Verify modules
run: go mod verify
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Verify modules
run: go mod verify
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ jobs:
- name: Set up golang
uses: actions/setup-go@v3
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Run Linter
run: make golangci-lint
2 changes: 1 addition & 1 deletion .github/workflows/release-operator.yaml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
uses: actions/setup-go@v3
id: go
with:
go-version: 1.20.6
go-version: 1.22.1

- name: Set release version env var
run: |
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/golang:1.21 AS builder
FROM docker.io/golang:1.22 AS builder

WORKDIR /go/src/github.com/openshift-kni/numaresources-operator
COPY . .
2 changes: 1 addition & 1 deletion Dockerfile.pause
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/golang:1.21 AS builder
FROM docker.io/golang:1.22 AS builder

WORKDIR /go/src/github.com/openshift-kni/numaresources-operator
COPY . .
2 changes: 1 addition & 1 deletion Dockerfile.tests
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/golang:1.21 AS builder
FROM docker.io/golang:1.22 AS builder

WORKDIR /go/src/github.com/openshift-kni/numaresources-operator
COPY . .
2 changes: 1 addition & 1 deletion Dockerfile.tools
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ FROM registry.access.redhat.com/ubi9/ubi

ENV HOME=/home/ci
ENV GOROOT=/usr/local/go
ENV GOVERSION=1.21.3
ENV GOVERSION=1.22.1
ENV GOPATH=/go
ENV GOBIN=${GOPATH}/bin
ENV PATH=${PATH}:${GOROOT}/bin:${GOBIN}

0 comments on commit 1ba8432

Please sign in to comment.