Skip to content

Commit 55c880e

Browse files
author
Daniel Tobon
committed
lint checker
1 parent 0fbece8 commit 55c880e

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
- documentation
1010

1111
jobs:
12-
build-and-test:
12+
build:
1313
runs-on: ubuntu-20.04
14-
14+
name: Building Check
1515
steps:
1616
- name: Clone Repository
1717
uses: actions/checkout@v3
@@ -29,3 +29,16 @@ jobs:
2929
uses: terencetcf/github-actions-lcov-minimum-coverage-checker@v1
3030
with:
3131
coverage-file: coverage.info
32+
33+
lint:
34+
name: Formatting Check
35+
runs-on: ubuntu-20.04
36+
37+
steps:
38+
- uses: actions/checkout@v2
39+
- name: Run clang-format style check for C/C++/Protobuf programs.
40+
uses: jidicula/clang-format-action@v4.5.0
41+
with:
42+
clang-format-version: "10"
43+
check-path: "."
44+
exclude-regex: "external"

0 commit comments

Comments
 (0)