Skip to content

Commit 8c36a6c

Browse files
TiryohShota Aoki
andauthored
Add Lint CI config (#70)
* Add Lint CI config * Fix MODULE_VERSION related #69 * Fix typo * Apply clang-format * Limit CI trigger * Revert "Fix MODULE_VERSION" for CI testing This reverts commit b4d147c. * Revert "Revert "Fix MODULE_VERSION" for CI testing" This reverts commit cc8ba54. * Unify configuration files * Apply clang-format Co-authored-by: Shota Aoki <s.aoki@rt-net.jp>
1 parent c7a1cb3 commit 8c36a6c

File tree

4 files changed

+553
-60
lines changed

4 files changed

+553
-60
lines changed

.github/workflows/driver-cross-build.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,33 @@ on:
55
branches:
66
- master
77
paths:
8+
- '.github/workflows/driver-cross-build.yml'
9+
- '.test/bin/**'
10+
- '.test/lint.sh'
811
- 'src/drivers/**'
9-
- '.github/workflows/**'
1012
pull_request:
1113
types: [opened, synchronize]
1214
paths:
15+
- '.github/workflows/driver-cross-build.yml'
16+
- '.test/bin/**'
17+
- '.test/lint.sh'
1318
- 'src/drivers/**'
14-
- '.github/workflows/**'
1519

1620
jobs:
21+
lint:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- uses: actions/setup-python@v2
27+
with:
28+
python-version: '3.x'
29+
30+
- name: Lint
31+
run: |
32+
./.test/lint.sh
1733
build:
34+
needs: lint
1835
strategy:
1936
fail-fast: false
2037
matrix:

0 commit comments

Comments
 (0)