Skip to content

Commit caf7ac2

Browse files
authored
NETOBSERV-1707: move to go 1.22 (#675)
1 parent a8c583d commit caf7ac2

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: check clean vendors
2929
run: go mod vendor
3030
- name: upload coverage to codecov.io
31-
if: ${{ matrix.go == '1.21' }}
31+
if: ${{ matrix.go == '1.22' }}
3232
uses: codecov/codecov-action@v4
3333
with:
3434
files: ./cover.out

.github/workflows/pull_request_e2e.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
go: ['1.21']
15+
go: ['1.22']
1616

1717
steps:
1818
- name: install make

.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

contrib/docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# We do not use --platform feature to auto fill this ARG because of incompatibility between podman and docker
22
ARG TARGETPLATFORM=linux/amd64
33
ARG BUILDPLATFORM=linux/amd64
4-
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.21 as builder
4+
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.22 as builder
55

66
ARG TARGETPLATFORM
77
ARG TARGETARCH=amd64

0 commit comments

Comments
 (0)