Skip to content

Commit

Permalink
Update format check.
Browse files Browse the repository at this point in the history
  • Loading branch information
marianabuhazi committed May 7, 2024
1 parent 62480a4 commit 7c4d83a
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/regression-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,5 @@ jobs:
- name: Run code formatting check
run: |
pwd
cd /utils/scripts/actions-pipeline/code-format/
pwd
chmod +x format_modified.sh
if [ -n "$(git rev-parse --show-toplevel 2>/dev/null)" ]; then
if ! ./format_modified.sh -g -ca; then
echo "Code format check failed. Please fix the formatting issues by running the following script: /utils/scripts/format_modified.sh"
exit 1
fi
else
echo "Not in a Git repository. Skipping code formatting check."
fi
cd /utils/scripts/

0 comments on commit 7c4d83a

Please sign in to comment.