From 3c5ee7eb6e414420156ee64643eb55ca309d8e7a Mon Sep 17 00:00:00 2001 From: Michael Shaw Date: Mon, 10 Oct 2022 13:20:05 -0400 Subject: [PATCH] go work init --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index f0c044c7b..2327639a1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -39,7 +39,7 @@ pipeline { echo 'Testing ...' sh 'env' sh 'go env' - sh 'go work use .' //https://github.com/golangci/golangci-lint/issues/2654 + sh 'go work init . ;go work use .' //https://github.com/golangci/golangci-lint/issues/2654 sh '/usr/local/go/bin/go test -p 1 -v ./...' //sh 'make test' }