Skip to content

Commit

Permalink
Use CDT's container to run all code cleanliness checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahgraham committed Jun 23, 2024
1 parent c7d4558 commit 8c3c4c5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/code-cleanliness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions releng/scripts/do_format_code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8c3c4c5

Please sign in to comment.