Add a minimal github action pipeline
This commit is contained in:
19
.github/workflows/lint-workflow.yml
vendored
Normal file
19
.github/workflows/lint-workflow.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Code style check
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
job_lint:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Lint
|
||||
uses: DoozyX/clang-format-lint-action@v0.11
|
||||
with:
|
||||
source: "./"
|
||||
extensions: "h,c"
|
||||
clangFormatVersion: 10
|
||||
Reference in New Issue
Block a user