Skip to content

clang format stuff

clang format stuff #11

Workflow file for this run

name: lint
on:
pull_request:
paths:
- '**.hpp'
- '**.cpp'
- '**.h'
- '**.c'
- '**.clang-format'
- '**.clang-tidy'
push:
paths:
- '**.hpp'
- '**.cpp'
- '**.h'
- '**.c'
- '**.clang-format'
- '**.clang-tidy'
permissions:
contents: read
jobs:
check-format-system:
runs-on: ubuntu-latest
strategy:
matrix:
path:
- check: 'src/band3'
exclude: ''
- check: 'src/network'
exclude: '(json-c)'
- check: 'src/system'
exclude: '(stlport|sdk|zlib|strips|soundtouch|oggvorbis|tomcrypt|speex)'
steps:
- uses: actions/checkout@v4
- uses: jidicula/[email protected]
with:
clang-format-version: '17'
check-path: ${{ matrix.path['check'] }}
exclude-regex: ${{ matrix.path['exclude'] }}
fallback-style: 'none'