From b755c2668556e0e19418b11826e5c0c17ce2bed7 Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Fri, 10 Sep 2021 14:50:14 -0700 Subject: [PATCH] Add additional information to the error message when validating modules Signed-off-by: Kathryn Baldauf --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b37fc6c72..c08533b447 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: $currentPath = (Get-Location).Path $process = Start-Process powershell.exe -PassThru -Verb runAs -Wait -ArgumentList $currentPath/scripts/Verify-GoModules.ps1, $currentPath if ($process.ExitCode -ne 0) { - Write-Error "Main modules are not up to date. Please run `go mod vendor` followed by `go mod tidy` in the repo root path." + Write-Error "Main modules are not up to date. Please validate your go version >= this job's and run `go mod vendor` followed by `go mod tidy` in the repo root path." } exit $process.ExitCode @@ -56,7 +56,7 @@ jobs: $currentPath = (Get-Location).Path $process = Start-Process powershell.exe -PassThru -Verb runAs -Wait -ArgumentList $currentPath/scripts/Verify-GoModules.ps1, $currentPath, "test" if ($process.ExitCode -ne 0) { - Write-Error "Test package modules are not up to date. Please run `go mod vendor` followed by `go mod tidy` in hcsshim/test directory." + Write-Error "Test package modules are not up to date. Please validate your go version >= this job's and run `go mod vendor` followed by `go mod tidy` in hcsshim/test directory." } exit $process.ExitCode