Skip to content

Commit 3bc3366

Browse files
author
Justin Boswell
authored
Merge pull request awslabs#32 from awslabs/clang-format-lint
Added clang-format linter
2 parents 1c0565d + 7425d04 commit 3bc3366

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/clang-format.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
clang-format:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Sources
12+
uses: actions/checkout@v1
13+
14+
- name: clang-format lint
15+
uses: DoozyX/clang-format-lint-action@v0.3.1
16+
with:
17+
# List of extensions to check
18+
extensions: c,h
19+
exclude: './bin'

0 commit comments

Comments
 (0)