Skip to content

Commit

Permalink
Merge pull request #566 from zeeke/bump-go122
Browse files Browse the repository at this point in the history
Build with go `v1.22`
  • Loading branch information
adrianchiris authored Jun 19, 2024
2 parents 3c041f8 + 5147b7e commit fe9f2f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-test-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
name: build
strategy:
matrix:
go-version: [1.21.x]
go-version: [1.22.x]
goarch: [amd64]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.x
go-version: 1.22.x

- name: Check out code into the Go module directory
uses: actions/checkout@v3
Expand All @@ -51,7 +51,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.x
go-version: 1.22.x

- uses: actions/checkout@v3

Expand All @@ -74,7 +74,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.x
go-version: 1.22.x
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.x
go-version: 1.22.x

# if this fails, run go mod tidy
- name: Check if module files are consistent with code
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/k8snetworkplumbingwg/sriov-network-device-plugin

go 1.21
go 1.22

require (
github.com/Mellanox/rdmamap v1.1.0
Expand Down
2 changes: 1 addition & 1 deletion images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine as builder
FROM golang:1.22-alpine as builder

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

Expand Down

0 comments on commit fe9f2f8

Please sign in to comment.