mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
.github: Add clang-format Lint action
Co-Authored-By: Maximilian Downey Twiss <64618338+Zopolis4@users.noreply.github.com>
This commit is contained in:
parent
61fd2659bf
commit
e70dcb9eba
1 changed files with 17 additions and 0 deletions
17
.github/workflows/lint.yml
vendored
Normal file
17
.github/workflows/lint.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue