Skip to content

Comments

ci(style): use bash shell to ensure proper failure#1881

Open
romintomasetti wants to merge 4 commits intoNVIDIA:mainfrom
romintomasetti:clang-tidy-fix
Open

ci(style): use bash shell to ensure proper failure#1881
romintomasetti wants to merge 4 commits intoNVIDIA:mainfrom
romintomasetti:clang-tidy-fix

Conversation

@romintomasetti
Copy link
Contributor

Fix dubious ownership.

This is a followup of:

@copy-pr-bot
Copy link

copy-pr-bot bot commented Feb 22, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Fix dubious ownership.

Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
@ericniebler
Copy link
Collaborator

i rebased this PR on one that formats some files i missed the first time. i don't know why clang-format is still complaining.

@romintomasetti
Copy link
Contributor Author

The job is using clang-format-21. Have you used the same version ?

@ericniebler
Copy link
Collaborator

i use clang-format-21 locally, yes

@ericniebler
Copy link
Collaborator

when i run this locally:

git ls-files *.hpp *.h *.cpp *.c | xargs clang-format-21 --dry-run --Werror

i get no errors.

- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- shell: bash
run: |
git ls-files *.hpp *.h *.cpp *.c | xargs clang-format-21 --dry-run --Werror
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
git ls-files *.hpp *.h *.cpp *.c | xargs clang-format-21 --dry-run --Werror
git ls-files *.hpp *.h *.cpp *.c *.cuh *.cu | xargs clang-format-21 --dry-run --Werror

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants