From b1b909ba765995e106036ff6b406903518410293 Mon Sep 17 00:00:00 2001 From: ii2day Date: Tue, 6 Feb 2024 18:24:57 +0800 Subject: [PATCH] bump go version to 1.21 Signed-off-by: ii2day --- .github/workflows/buildtest.yml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/buildtest.yml b/.github/workflows/buildtest.yml index 736160202..fd395cfdf 100644 --- a/.github/workflows/buildtest.yml +++ b/.github/workflows/buildtest.yml @@ -9,7 +9,7 @@ jobs: build-test: strategy: matrix: - go-version: [1.20.x] + go-version: [1.21.x] os: [ubuntu-latest] goos: [linux] goarch: [amd64, arm64, ppc64le] @@ -43,7 +43,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: 1.20.x + go-version: 1.21.x - name: Check out code into the Go module directory uses: actions/checkout@v2 diff --git a/go.mod b/go.mod index 5058b590b..ae348dd14 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/k8snetworkplumbingwg/sriov-cni -go 1.20 +go 1.21 require ( github.com/containernetworking/cni v1.1.2