-
Notifications
You must be signed in to change notification settings - Fork 3
43 lines (38 loc) · 887 Bytes
/
code_style.yml
File metadata and controls
43 lines (38 loc) · 887 Bytes
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
name: code_style
on: push
jobs:
astyle:
timeout-minutes: 1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install -y astyle
- run: make astyle
cpplint:
timeout-minutes: 1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: pip3 install cpplint
- run: make cpplint
crlf:
timeout-minutes: 1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install -y dos2unix
- run: make crlf
cppcheck:
timeout-minutes: 1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: sudo apt-get install -y cppcheck
- run: make cppcheck
pylint:
timeout-minutes: 1
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: pip3 install pylint
- run: make pylint