451ec61a50
The repository now contains a clang-format file which should be used when committing new code. Additionally, a new workflow job is added which checks the conformance of source files to the specified formatting rules. Fixes #47.
17 lines
256 B
YAML
17 lines
256 B
YAML
name: Code Style Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
code-style:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- uses: DoozyX/clang-format-lint-action@v0.5
|
|
with:
|
|
clangFormatVersion: 9
|