obs-studio/.github/workflows/clang-format.yml
PatTheMav c993b6059a
CI: Update build scripts and Github actions workflow
Also updates main CMakeLists.txt and CMakeLists.txt for unit tests,
also adds additional build directories to .gitignore file
2022-03-16 23:13:26 +01:00

28 lines
555 B
YAML

name: Clang Format Check
on:
push:
paths-ignore: ['**.md']
branches-ignore: [master]
pull_request:
paths-ignore: ['**.md']
branches-ignore: [master]
jobs:
clang-format-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Install clang format
run: |
sudo apt-get install -y clang-format-12
- name: 'Run clang-format'
run: |
./CI/check-format.sh
./CI/check-changes.sh