mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-03-29 22:20:24 +00:00
Create clang.yml
This commit is contained in:
parent
361e5f7ea7
commit
27d2735454
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…
x
Reference in New Issue
Block a user