diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 45cb7eac1..2fbe84c81 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 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@v2 @@ -32,10 +32,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.21.x + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -63,10 +63,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.21.x + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -88,10 +88,10 @@ jobs: name: Golangci-lint runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.21.x + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: golangci-lint @@ -105,10 +105,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v2 with: - go-version: 1.21.x + go-version: 1.22.x - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -148,10 +148,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v3 with: - go-version: 1.21.x + go-version: 1.22.x - name: run test run: make test-e2e-conformance-virtual-k8s-cluster-ci @@ -182,10 +182,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v3 with: - go-version: 1.21.x + go-version: 1.22.x - name: run test run: make test-e2e-conformance-virtual-ocp-cluster-ci diff --git a/Dockerfile b/Dockerfile index 8e503f2ad..2b26247e8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator COPY . . RUN make _build-manager BIN_PATH=build/_output/cmd diff --git a/Dockerfile.sriov-network-config-daemon b/Dockerfile.sriov-network-config-daemon index 6f7069362..219d77c6d 100644 --- a/Dockerfile.sriov-network-config-daemon +++ b/Dockerfile.sriov-network-config-daemon @@ -1,4 +1,4 @@ -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator COPY . . RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd diff --git a/Dockerfile.webhook b/Dockerfile.webhook index 7aa026e73..7c2e7f3d5 100644 --- a/Dockerfile.webhook +++ b/Dockerfile.webhook @@ -1,4 +1,4 @@ -FROM golang:1.21 AS builder +FROM golang:1.22 AS builder WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator COPY . . RUN make _build-webhook BIN_PATH=build/_output/cmd diff --git a/go.mod b/go.mod index fca66390c..948dfdc1a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k8snetworkplumbingwg/sriov-network-operator -go 1.21 +go 1.22 require ( github.com/Masterminds/sprig/v3 v3.2.2