Merge remote-tracking branch 'origin/devel' #475
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: clang-format | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ devel ] | |
jobs: | |
formatting-check: | |
name: Check clang-format | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- 'src' | |
- 'include' | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Run clang-format style check for C++ headers and sources | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '15' | |
check-path: ${{ matrix.path }} |