.github: Add clang-format Lint action

Co-Authored-By: Maximilian Downey Twiss <64618338+Zopolis4@users.noreply.github.com>
This commit is contained in:
FearlessTobi 2022-09-05 03:34:29 +02:00
parent 61fd2659bf
commit e70dcb9eba

17
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Lint
on:
pull_request:
branches: [ main ]
paths-ignore:
- "*.md"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: DoozyX/clang-format-lint-action@v0.14
with:
source: './src'
clangFormatVersion: 12