Skip to content

Commit ec39c7b

Browse files
authored
NETOBSERV-1707: move to go 1.22 (#542)
1 parent e3bdd3d commit ec39c7b

File tree

9 files changed

+10
-9
lines changed

9 files changed

+10
-9
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: check clean vendors
2727
run: go mod vendor
2828
- name: Report coverage
29-
if: ${{ matrix.go == '1.21' }}
29+
if: ${{ matrix.go == '1.22' }}
3030
uses: codecov/codecov-action@v4
3131
with:
3232
files: ./cover.out

.github/workflows/push_image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
go: ['1.21']
18+
go: ['1.22']
1919
steps:
2020
- name: install make
2121
run: sudo apt-get install make
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
strategy:
4848
matrix:
49-
go: ['1.21']
49+
go: ['1.22']
5050
steps:
5151
- name: install make
5252
run: sudo apt-get install make

.github/workflows/push_image_pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
go: ['1.21']
19+
go: ['1.22']
2020
steps:
2121
- name: install make
2222
run: sudo apt-get install make

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
go: ['1.21']
17+
go: ['1.22']
1818
steps:
1919
- name: checkout
2020
uses: actions/checkout@v3

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ linters:
1818
- unused
1919
linters-settings:
2020
stylecheck:
21-
go: "1.21"
21+
go: "1.22"
2222
gocritic:
2323
enabled-checks:
2424
- hugeParam

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WORKDIR /opt/app-root/web
2525
RUN npm run format-all
2626
RUN npm run build$BUILDSCRIPT
2727

28-
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21 as go-builder
28+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22 as go-builder
2929

3030
ARG TARGETPLATFORM
3131
ARG TARGETARCH=amd64

Dockerfile.ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM docker.io/library/golang:1.21
1+
FROM docker.io/library/golang:1.22
22

33
RUN apt-get update && apt-get install -y \
44
nodejs \

Dockerfile.cypress

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ WORKDIR /opt/app-root/web
2020
RUN npm run format-all
2121
RUN npm run build$BUILDSCRIPT
2222

23-
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21 as go-builder
23+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22 as go-builder
2424

2525
ARG LDFLAGS
2626
WORKDIR /opt/app-root

web/src/components/messages/error.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ export const Error: React.FC<Props> = ({ title, error, isLokiRelated }) => {
259259
target="_blank"
260260
to={{
261261
pathname:
262+
// eslint-disable-next-line max-len
262263
'https://docs.openshift.com/container-platform/latest/observability/network_observability/installing-operators.html#network-observability-loki-installation_network_observability'
263264
}}
264265
/>

0 commit comments

Comments
 (0)