Merge pull request #1519 from gullradriel/locking-fix #466
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: Check code style | |
on: [push, pull_request] | |
jobs: | |
formatting-check: | |
name: clang-format | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
path: | |
- check: 'host/libhackrf/src' | |
exclude: '' | |
- check: 'host/hackrf-tools/src' | |
exclude: '' | |
- check: 'firmware/common' | |
exclude: 'firmware/common/xapp058' | |
- check: 'firmware/hackrf_usb' | |
exclude: '' | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run clang-format-action | |
uses: jidicula/[email protected] | |
with: | |
clang-format-version: '14' | |
check-path: ${{ matrix.path['check'] }} | |
exclude-regex: ${{ matrix.path['exclude'] }} |