Run clang-format lint on pull requests
This commit is contained in:
committed by
Alex Chernyakhovsky
parent
05c7aceb1e
commit
1105d481bb
@@ -0,0 +1,15 @@
|
||||
name: clang-format-lint
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: DoozyX/clang-format-lint-action@v0.16.2
|
||||
with:
|
||||
source: './src'
|
||||
style: file
|
||||
clangFormatVersion: 14
|
||||
Reference in New Issue
Block a user