From 8c3c4c523b39dc71980544efa8ed0984577d5303 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Sun, 23 Jun 2024 17:12:35 -0400 Subject: [PATCH] Use CDT's container to run all code cleanliness checks --- .github/workflows/code-cleanliness.yml | 5 +---- releng/scripts/do_format_code.sh | 18 +++++++++--------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/.github/workflows/code-cleanliness.yml b/.github/workflows/code-cleanliness.yml index bf91151728e..4dbab4d5947 100644 --- a/.github/workflows/code-cleanliness.yml +++ b/.github/workflows/code-cleanliness.yml @@ -17,11 +17,8 @@ jobs: options: -v ${{ github.workspace }}:/work --user 1001:127 run: | set -x - ls -la / - ls -la /work - whoami cd /work - xvfb-run -a ./releng/scripts/check_code_cleanliness_only.sh + ./releng/scripts/check_code_cleanliness_only.sh ./releng/scripts/check_bundle_versions.sh ./releng/scripts/check_bundle_versions_report.sh - name: Upload Logs diff --git a/releng/scripts/do_format_code.sh b/releng/scripts/do_format_code.sh index aa771cb4645..01cc94603cd 100755 --- a/releng/scripts/do_format_code.sh +++ b/releng/scripts/do_format_code.sh @@ -44,15 +44,15 @@ fi $PWD -data check_code_cleanliness_workspace & PID=$! -set +e -while true; do - sleep 1s - echo - echo "Contents of log" - cat check_code_cleanliness_workspace/.metadata/.log - echo "files in workspace of log" - find check_code_cleanliness_workspace -done +# set +e +# while true; do +# sleep 1s +# echo +# echo "Contents of log" +# cat check_code_cleanliness_workspace/.metadata/.log +# echo "files in workspace of log" +# find check_code_cleanliness_workspace +# done wait $PID rm -rf check_code_cleanliness_workspace