25
25
filter-format-check :
26
26
runs-on : ubuntu-latest
27
27
outputs :
28
- any_changed : ${{ steps.changed-files.outputs.any_changed }}
28
+ any_changed : ${{ steps.changed-files.outputs.core_any_changed == 'true' ||
29
+ steps.changed-files.outputs.loader_any_changed == 'true' ||
30
+ steps.changed-files.outputs.libraries_any_changed == 'true' }}
29
31
core_any_changed : ${{ steps.changed-files.outputs.core_any_changed }}
30
32
loader_any_changed : ${{ steps.changed-files.outputs.loader_any_changed }}
31
33
libraries_any_changed : ${{ steps.changed-files.outputs.libraries_any_changed }}
@@ -36,22 +38,30 @@ jobs:
36
38
with :
37
39
files_yaml : |
38
40
core:
39
- - cores/arduino/**.{c,cpp,h,hpp}
41
+ - cores/arduino/*.{c,cpp,h,hpp}
42
+ - cores/arduino/**/*.{c,cpp,h,hpp}
40
43
- '!cores/arduino/api/**'
41
44
loader:
42
- - loader/**.{c,cpp,h,hpp}
45
+ - loader/*.{c,cpp,h,hpp}
46
+ - loader/**/*.{c,cpp,h,hpp}
43
47
- '!loader/llext_exports.c'
44
48
libraries:
45
- - libraries/**.{c,cpp,h,hpp}
49
+ - libraries/**/* .{c,cpp,h,hpp}
46
50
- '!libraries/examples/**'
47
51
- '!libraries/extras/**'
48
52
- '!libraries/ea_malloc/**'
53
+ - name : Debug changed files
54
+ run : |
55
+ echo "Any changed: ${{ steps.changed-files.outputs.any_changed }}"
56
+ echo "Core changed: ${{ steps.changed-files.outputs.core_any_changed }}"
57
+ echo "Loader changed: ${{ steps.changed-files.outputs.loader_any_changed }}"
58
+ echo "Libraries changed: ${{ steps.changed-files.outputs.libraries_any_changed }}"
49
59
50
60
format-check :
51
61
runs-on : ubuntu-latest
52
62
needs :
53
63
- filter-format-check
54
- if : needs.filter-format-check.outputs.any_changed == 'true'
64
+ if : needs.filter-format-check.outputs.any_changed
55
65
strategy :
56
66
matrix :
57
67
path :
0 commit comments