github: Add clang-format action
This commit is contained in:
parent
bda1399a69
commit
1d9a0415f9
1 changed files with 18 additions and 0 deletions
18
.github/workflows/clang-format.yml
vendored
Normal file
18
.github/workflows/clang-format.yml
vendored
Normal 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
|
Loading…
Reference in a new issue