From 4ab1bda7c6879b8b1f3445e94b1a25baa20ea3a8 Mon Sep 17 00:00:00 2001 From: Balazs Nemeth Date: Tue, 17 Jan 2023 14:01:37 +0100 Subject: [PATCH] Update go to 1.19 Signed-off-by: Balazs Nemeth --- .github/workflows/go.yml | 16 ++++++++-------- Dockerfile | 2 +- Dockerfile.sriov-network-config-daemon | 2 +- Dockerfile.webhook | 2 +- go.mod | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 653cb930b..03a62666a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,10 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.19 uses: actions/setup-go@v3 with: - go-version: '>=1.18.2 <1.19' + go-version: 1.19.x - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -28,10 +28,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.19 uses: actions/setup-go@v2 with: - go-version: '>=1.18.2 <1.19' + go-version: 1.19.x - name: Check out code into the Go module directory uses: actions/checkout@v2 @@ -49,10 +49,10 @@ jobs: name: Golangci-lint runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.19 uses: actions/setup-go@v2 with: - go-version: '>=1.18.2 <1.19' + go-version: 1.19.x - name: Check out code into the Go module directory uses: actions/checkout@v2 - name: golangci-lint @@ -66,10 +66,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Set up Go 1.18 + - name: Set up Go 1.19 uses: actions/setup-go@v2 with: - go-version: '>=1.18.2 <1.19' + go-version: 1.19.x - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/Dockerfile b/Dockerfile index 52c722fb6..957978cbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.18 AS builder +FROM golang:1.19 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 51e070ef2..9c081c147 100644 --- a/Dockerfile.sriov-network-config-daemon +++ b/Dockerfile.sriov-network-config-daemon @@ -1,4 +1,4 @@ -FROM golang:1.18 AS builder +FROM golang:1.19 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 21e625ba0..00ab03e72 100644 --- a/Dockerfile.webhook +++ b/Dockerfile.webhook @@ -1,4 +1,4 @@ -FROM golang:1.18 AS builder +FROM golang:1.19 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 d89bf5394..f2b26f127 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k8snetworkplumbingwg/sriov-network-operator -go 1.18 +go 1.19 require ( github.com/Masterminds/sprig/v3 v3.2.2