Skip to content

Commit 8a3f486

Browse files
committed
Update to clang-format-18
1 parent 8c16b44 commit 8a3f486

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/run_clang_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: |
1919
if [ 'true' = "${{ github.event_name == 'push' || github.event_name == 'schedule' }}" ]
2020
then
21-
echo "tags=ghcr.io/pdidev/run-clang-format:${{ github.ref_name }}" >> "${GITHUB_OUTPUT}"
21+
echo "tags=ghcr.io/pdidev/run_clang_format:${{ github.ref_name }}" >> "${GITHUB_OUTPUT}"
2222
fi
2323
- name: "Build and push"
2424
uses: pdidev/test_env/.github/actions/build@v4

run_clang_format/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ COPY run-clang-format/run-clang-format.py /usr/bin/run-clang-format
1212

1313
RUN chmod 755 /usr/bin/run-clang-format
1414

15-
ENTRYPOINT ["/usr/bin/run-clang-format"]
15+
ENTRYPOINT ["/usr/bin/run-clang-format", "--clang-format-executable", "/usr/lib/llvm18/bin/clang-format"]
1616
WORKDIR /src

0 commit comments

Comments
 (0)