Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/style-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/clang-format-action@v4.11.0
with:
clang-format-version: '17'
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
inlining-check:
runs-on: ubuntu-latest
name: Check inline keyword usage
Expand Down
Loading