forked from edgeimpulse/linux-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (43 loc) · 1.27 KB
/
lint.yaml
File metadata and controls
60 lines (43 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Lint Checks
on: [pull_request, push]
jobs:
sort_libraries:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Colint
uses: ./.github/actions/install-colint
- name: Run Sort Libraries Check
run: |
colint sort-libraries . --check --config-file ./lint
code_format:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Colint
uses: ./.github/actions/install-colint
- name: Run Code Format Check
run: |
colint code-format . --check --config-file ./lint
grammar_check:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Colint
uses: ./.github/actions/install-colint
- name: Run Grammar Check
run: |
colint grammar-check . --check --config-file ./lint
newline_fix:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Install Colint
uses: ./.github/actions/install-colint
- name: Run Newline Fix Check
run: |
colint newline-fix . --check --config-file ./lint