We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1a21827 commit fe38288Copy full SHA for fe38288
.github/workflows/style.yml
@@ -0,0 +1,24 @@
1
+on:
2
+ push:
3
+ branches:
4
+ - main
5
+ pull_request:
6
7
8
+
9
+concurrency:
10
+ group: ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress: true
12
13
+jobs:
14
+ clang-format:
15
+ runs-on: ubuntu-latest
16
+ container:
17
+ image: silkeh/clang:21@sha256:1901d77a39a463f27463f0b0c69441ed5c8ad18cbcf33ccf37283c27e807739f
18
+ permissions:
19
+ contents: read
20
+ steps:
21
+ - run: apt update && apt --yes --no-install-recommends install git
22
+ - uses: actions/checkout@v6
23
+ - run: |
24
+ git ls-files *.hpp *.h *.cpp *.c | xargs clang-format-21 --dry-run --Werror
.github/workflows/test-clang-format.sh
0 commit comments