mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-18 22:42:58 +00:00
github: Add clang-format action
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user