From 0d626cfbb75e559c57a628e73af4e8bcee7bcf8c Mon Sep 17 00:00:00 2001 From: Tariq Ibrahim Date: Mon, 30 Sep 2024 12:13:56 -0700 Subject: [PATCH] add go modules check for deployments/devel Signed-off-by: Tariq Ibrahim --- .github/workflows/golang.yaml | 4 +++- deployments/devel/go.mod | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/golang.yaml b/.github/workflows/golang.yaml index 34b1caf7..6822dfae 100644 --- a/.github/workflows/golang.yaml +++ b/.github/workflows/golang.yaml @@ -49,7 +49,9 @@ jobs: args: -v --timeout 5m skip-cache: true - name: Check golang modules - run: make check-vendor + run: | + make check-vendor + make -C deployments/devel check-modules test: name: Unit test runs-on: ubuntu-latest diff --git a/deployments/devel/go.mod b/deployments/devel/go.mod index 5c9d4ef8..45b2ee91 100644 --- a/deployments/devel/go.mod +++ b/deployments/devel/go.mod @@ -1,6 +1,7 @@ module github.com/NVIDIA/k8s-device-plugin/deployments/devel -go 1.22.1 +go 1.23 + toolchain go1.23.1 require (