mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
22 lines
432 B
YAML
22 lines
432 B
YAML
name: Clang Format Check
|
|
|
|
on: [push, pull_request]
|
|
|
|
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: Check the Formatting
|
|
run: |
|
|
./formatcode.sh
|
|
./CI/check-format.sh
|