Skip to content

Commit d53bcec

Browse files
Aymane-STfpistm
authored andcommitted
ci: update workflow to support submodule
Signed-off-by: Aymane Bahssain <aymane.bahssain@st.com>
1 parent a494e00 commit d53bcec

6 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/Arduino-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
steps:
3636
# First of all, clone the repo using the checkout action.
3737
- name: Checkout
38-
uses: actions/checkout@v4
38+
uses: actions/checkout@main
39+
with:
40+
submodules: true
3941

4042
- name: Compilation
4143
id: Compile

.github/workflows/Cmake.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ jobs:
5353

5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v4
56+
uses: actions/checkout@main
57+
with:
58+
submodules: true
5759

5860
- name: Get latest CMake and Ninja
5961
uses: lukka/get-cmake@latest

.github/workflows/PIO-build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
# First of all, clone the repo using the checkout action.
3939
- name: Checkout
4040
uses: actions/checkout@main
41+
with:
42+
submodules: true
4143

4244
- name: PlatformIO
4345
id: Compile

.github/workflows/astyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
steps:
3232
# First of all, clone the repo using the checkout action.
3333
- name: Checkout
34-
uses: actions/checkout@v4
34+
uses: actions/checkout@v5
3535

3636
- name: Astyle check
3737
id: Astyle

CI/astyle/.astyleignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.git
22
BUILD
33
CI
4-
system
4+
system
5+
cores/arduino/api

CI/codespell/.codespellrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[codespell]
22
check-filenames =
33
check-hidden =
4-
skip = ./.git,./CI,./system/Drivers,./system/Middlewares
4+
skip = ./.git,./CI,./system/Drivers,./system/Middlewares,./cores/arduino/api
55
ignore-words = ./CI/codespell/.codespellignore

0 commit comments

Comments
 (0)