Create clang.yml
This commit is contained in:
parent
361e5f7ea7
commit
27d2735454
1 changed files with 23 additions and 0 deletions
23
.github/workflows/clang.yml
vendored
Normal file
23
.github/workflows/clang.yml
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: clang-format-lint
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [master, nightly]
|
||||||
|
types: [opened, synchronize, edited, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Clang format lint
|
||||||
|
uses: DoozyX/clang-format-lint-action@v0.13
|
||||||
|
with:
|
||||||
|
source: './sunshine'
|
||||||
|
extensions: 'cpp,h'
|
||||||
|
clangFormatVersion: 13
|
||||||
|
style: file
|
||||||
|
inplace: False
|
||||||
Loading…
Add table
Add a link
Reference in a new issue