obs-studio/.github/workflows/clang-format.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
555 B
YAML
Raw Normal View History

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@v3
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