We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec061dd commit d2d0119Copy full SHA for d2d0119
.github/workflows/style-check.yml
@@ -9,11 +9,11 @@ jobs:
9
runs-on: ubuntu-latest
10
steps:
11
- uses: actions/checkout@v2
12
- - name: Run clang-format style check for C/C++ programs.
13
- uses: jidicula/clang-format-action@v4.11.0
14
- with:
15
- clang-format-version: '17'
16
- exclude-regex: 'doctest.h'
+ - run: sudo apt install clang-format
+ - run: |
+ git fetch origin ${{ github.event.pull_request.base.sha }}
+ git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch
+ ! grep -q '^diff ' diff.patch
17
inlining-check:
18
19
name: Check inline keyword usage
0 commit comments