File tree 2 files changed +33
-29
lines changed
2 files changed +33
-29
lines changed Original file line number Diff line number Diff line change 1
- name : CI Workflows
1
+ name : Build Arduino Examples
2
2
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
- Run-Source-Code-Linters :
7
- runs-on : ubuntu-latest
8
-
9
- steps :
10
- - name : Checkout repository
11
- uses : actions/checkout@v2
12
-
13
- - name : Set up Node.js
14
- uses : actions/setup-node@v2
15
- with :
16
- node-version : ' 18' # Specify the Node.js version you need
17
-
18
- - name : Install Clang-Format via npm
19
- run : npm install -g clang-format
20
-
21
- - name : Set up Python
22
- uses : actions/setup-python@v2
23
- with :
24
- python-version : ' 3.12'
25
-
26
- - name : Install pre-commit
27
- run : |
28
- python -m pip install --upgrade pip
29
- pip install pre-commit
30
-
31
- - name : Run pre-commit hooks
32
- run : pre-commit run --all-files
33
-
34
6
Build-Arduino-Examples :
35
7
runs-on : ubuntu-latest
36
8
Original file line number Diff line number Diff line change
1
+ name : Lint source code
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ Run-Source-Code-Linters :
7
+ runs-on : ubuntu-latest
8
+
9
+ steps :
10
+ - name : Checkout repository
11
+ uses : actions/checkout@v2
12
+
13
+ - name : Set up Node.js
14
+ uses : actions/setup-node@v2
15
+ with :
16
+ node-version : ' 18' # Specify the Node.js version you need
17
+
18
+ - name : Install Clang-Format via npm
19
+ run : npm install -g clang-format
20
+
21
+ - name : Set up Python
22
+ uses : actions/setup-python@v2
23
+ with :
24
+ python-version : ' 3.12'
25
+
26
+ - name : Install pre-commit
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ pip install pre-commit
30
+
31
+ - name : Run pre-commit hooks
32
+ run : pre-commit run --all-files
You can’t perform that action at this time.
0 commit comments