From 78aa94668a2c2a88054dd0d0d752e0f71b162fbd Mon Sep 17 00:00:00 2001 From: Sutou Kouhei Date: Thu, 12 Oct 2023 05:44:55 +0900 Subject: [PATCH] GH-38200: [CI][Release][Go] Ensure removing all module caches --- dev/release/verify-release-candidate.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 6397cd4c32450..241beb16963ad 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -880,8 +880,6 @@ test_go() { go test ./... fi go install -buildvcs=false ./... - go clean -modcache - if [ ${TEST_INTEGRATION_GO} -gt 0 ]; then pushd arrow/internal/cdata_integration case "$(uname)" in @@ -898,7 +896,7 @@ test_go() { go build -buildvcs=false -tags cdata_integration,assert -buildmode=c-shared -o ${go_lib} . popd fi - + go clean -modcache popd } @@ -1204,7 +1202,7 @@ BUILD_JS=$((${TEST_JS} + ${TEST_INTEGRATION_JS})) BUILD_GO=$((${TEST_GO} + ${TEST_INTEGRATION_GO})) TEST_INTEGRATION=$((${TEST_INTEGRATION} + ${TEST_INTEGRATION_CPP} + ${TEST_INTEGRATION_JAVA} + ${TEST_INTEGRATION_JS} + ${TEST_INTEGRATION_GO})) -# Execute tests in a conda enviroment +# Execute tests in a conda environment : ${USE_CONDA:=0} # Build options for the C++ library