File tree Expand file tree Collapse file tree 2 files changed +11
-71
lines changed Expand file tree Collapse file tree 2 files changed +11
-71
lines changed Original file line number Diff line number Diff line change 1
- name : Code checks
1
+ name : Code Checks
2
2
3
3
on :
4
4
push :
5
- branches : [ '*' ]
6
-
7
- defaults :
8
- run :
9
- shell : bash
10
-
5
+
11
6
jobs :
12
- setup :
13
- runs-on : ubuntu-24.04
14
-
15
- container :
16
- image : docker.io/ifxmakers/makers-docker:push
17
- volumes :
18
- - .:/myLocalWorkingDir:rw
19
- options : --cpus 1
20
-
21
- steps :
22
-
23
- - name : Checkout actions
24
- uses : actions/checkout@v4
25
- with :
26
- submodules : true
27
-
28
- - name : Set strategy matrix
29
- id : set-matrix
30
- run : |
31
- eval $(python3 tools/code_checks/codeChecks.py --getAllChecks)
32
-
33
- outputs :
34
- checks : ${{ steps.set-matrix.outputs.checks }}
35
-
36
-
37
- codeCheckFlowStep :
38
- runs-on : ubuntu-24.04
39
- needs : setup
40
-
41
- container :
42
- image : docker.io/ifxmakers/makers-docker:push
43
- volumes :
44
- - .:/myLocalWorkingDir:rw
45
- options : --cpus 1
46
-
47
- strategy :
48
-
49
- matrix :
50
- checks : ${{ fromJson(needs.setup.outputs.checks) }}
51
-
52
- steps :
53
-
54
- - name : Checkout actions
55
- uses : actions/checkout@v4
56
- with :
57
- submodules : recursive
58
-
59
-
60
- - name : Run all code checks
61
- id : run_build
62
- if : success() || failure()
63
- run : |
64
- echo "Workflow has these parameters :"
65
- echo "matrix.checks : " ${{ matrix.checks }}
66
- echo ""
67
- python3 tools/code_checks/codeChecks.py --runCheck ${{ matrix.checks }} --showLog
68
- continue-on-error : true
69
-
70
- - name : Archive tool reports
71
- uses : actions/upload-artifact@v4
72
- with :
73
- name : ${{ matrix.checks }}
74
- path : |
75
- _results
7
+ makers-devops :
8
+ uses : Infineon/makers-devops/.github/workflows/code_checks.yml@fix-configs-path
9
+ with :
10
+ project-yaml : config/project.yml
11
+ user-yaml : config/user.yml
12
+ secrets : inherit
13
+
14
+
Original file line number Diff line number Diff line change 73
73
[submodule "extras/makers-devops "]
74
74
path = extras/makers-devops
75
75
url = https://github.com/Infineon/makers-devops.git
76
+ branch = fix-configs-path
You can’t perform that action at this time.
0 commit comments