-
Notifications
You must be signed in to change notification settings - Fork 2
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
Add clang-format action, extend gitignore #8
base: main
Are you sure you want to change the base?
Conversation
Demo: https://github.com/ML-acc/triton_acc/actions/runs/10863365027/job/30147430887 I've been using this clang-format-lint-action myself for a long time in https://github.com/vla5924-practice/compiler-project |
.github/workflows/lint.yml
Outdated
- name: Run clang-format | ||
uses: DoozyX/clang-format-lint-action@v0.17 | ||
with: | ||
source: 'include lib python' |
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.
I think it is better not to limit "source" here
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.
In this case extensions should be specified
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.
Default extensions set is ok
66c5b0f
to
48146dc
Compare
No description provided.