dash/.github/workflows/clang-diff-format.yml
PastaPastaPasta 20eb13616a
ci: Add github-action that automatically runs clang-format. Will not fail CI (#4387)
Signed-off-by: pasta <pasta@dashboost.org>
2021-09-02 23:00:07 +03:00

18 lines
371 B
YAML

name: Clang Diff Format Check
on:
pull_request:
branches:
- develop
jobs:
ClangFormat:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Fetch git
run: git fetch
- name: Run Clang-Format-Diff.py
run: git diff -U0 origin/develop | ./contrib/devtools/clang-format-diff.py -p1