github: Add clang-format action

This commit is contained in:
MerryMage 2021-05-31 12:51:28 +01:00
parent bda1399a69
commit 1d9a0415f9

18
.github/workflows/clang-format.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: clang-format
on: [push, pull_request]
jobs:
clang-format:
runs-on: ubuntu-latest
steps:
- name: Checkout dynarmic repo
uses: actions/checkout@v2
- uses: DoozyX/clang-format-lint-action@v0.12
with:
source: 'src tests'
clangFormatVersion: 12