Skip to content

Commit 55ef69f

Browse files
ci(style): use bash shell to ensure proper failure
Fix dubious ownership. Signed-off-by: romintomasetti <romin.tomasetti@gmail.com>
1 parent 0758df6 commit 55ef69f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/style.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ jobs:
2020
steps:
2121
- run: apt update && apt --yes --no-install-recommends install git
2222
- uses: actions/checkout@v6
23-
- run: |
23+
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
24+
- shell: bash
25+
run: |
2426
git ls-files *.hpp *.h *.cpp *.c | xargs clang-format-21 --dry-run --Werror

0 commit comments

Comments
 (0)