-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check formatting as part of the CI #2193
Conversation
DIFF=`git status --porcelain` | ||
if [[ $DIFF ]]; then | ||
echo "The following files are not well formatted" | ||
echo "$DIFF" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
upload diff file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to dl & apply the patch ;)
Co-authored-by: Abdoulbari Zaher <[email protected]>
Co-authored-by: Abdoulbari Zaher <[email protected]>
i'll consider formatting changed files only |
|
Quality Gate failedFailed conditions See analysis details on SonarCloud Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
Succeed if all source files are well formated. Fail otherwise, and display ill-formatted files.