Add lint workflow using clang-format

This commit is contained in:
Zopolis4 2022-08-26 08:58:45 +10:00
parent 32d3bb5b19
commit f314d7972d
No known key found for this signature in database
GPG key ID: C1117D56FBC82774

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: 14