Skip to content

Commit fe9f2f8

Browse files
authored
Merge pull request #566 from zeeke/bump-go122
Build with go `v1.22`
2 parents 3c041f8 + 5147b7e commit fe9f2f8

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build-test-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
name: build
66
strategy:
77
matrix:
8-
go-version: [1.21.x]
8+
go-version: [1.22.x]
99
goarch: [amd64]
1010
os: [ubuntu-latest]
1111
runs-on: ${{ matrix.os }}
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@v3
3434
with:
35-
go-version: 1.21.x
35+
go-version: 1.22.x
3636

3737
- name: Check out code into the Go module directory
3838
uses: actions/checkout@v3
@@ -51,7 +51,7 @@ jobs:
5151
- name: Set up Go
5252
uses: actions/setup-go@v3
5353
with:
54-
go-version: 1.21.x
54+
go-version: 1.22.x
5555

5656
- uses: actions/checkout@v3
5757

@@ -74,7 +74,7 @@ jobs:
7474
- name: Set up Go
7575
uses: actions/setup-go@v3
7676
with:
77-
go-version: 1.21.x
77+
go-version: 1.22.x
7878
- uses: actions/checkout@v3
7979
- name: golangci-lint
8080
uses: golangci/golangci-lint-action@v3
@@ -113,7 +113,7 @@ jobs:
113113
- name: Set up Go
114114
uses: actions/setup-go@v3
115115
with:
116-
go-version: 1.21.x
116+
go-version: 1.22.x
117117

118118
# if this fails, run go mod tidy
119119
- name: Check if module files are consistent with code

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/k8snetworkplumbingwg/sriov-network-device-plugin
22

3-
go 1.21
3+
go 1.22
44

55
require (
66
github.com/Mellanox/rdmamap v1.1.0

images/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21-alpine as builder
1+
FROM golang:1.22-alpine as builder
22

33
COPY . /usr/src/sriov-network-device-plugin
44

0 commit comments

Comments
 (0)