@@ -101,7 +101,9 @@ jobs:
101101
102102 operator :
103103 name : " Build | Operator"
104- needs : [unit-python, unit-javascript]
104+ needs :
105+ - unit-python
106+ - unit-javascript
105107 runs-on : ubuntu-latest
106108 strategy :
107109 matrix :
@@ -153,11 +155,15 @@ jobs:
153155
154156 sdk :
155157 name : " Build | SDKs"
156- needs : [unit-python, unit-javascript]
158+ needs :
159+ - unit-python
160+ - unit-javascript
157161 runs-on : ubuntu-latest
158162 strategy :
159163 matrix :
160- sdk : ["parser-sdk", "hook-sdk"]
164+ sdk :
165+ - parser-sdk
166+ - hook-sdk
161167 steps :
162168 - name : Checkout
163169 uses : actions/checkout@v2
@@ -199,13 +205,11 @@ jobs:
199205 strategy :
200206 matrix :
201207 hook :
202- [
203- " declarative-subsequent-scans" ,
204- " finding-post-processing" ,
205- " generic-webhook" ,
206- " persistence-elastic" ,
207- " update-field" ,
208- ]
208+ - declarative-subsequent-scans
209+ - finding-post-processing
210+ - generic-webhook
211+ - persistence-elastic
212+ - update-field
209213 steps :
210214 - name : Checkout
211215 uses : actions/checkout@v2
@@ -254,23 +258,22 @@ jobs:
254258 strategy :
255259 matrix :
256260 parser :
257- [
258- " amass" ,
259- " git-repo-scanner" ,
260- " gitleaks" ,
261- " kube-hunter" ,
262- " kubeaudit" ,
263- " ncrack" ,
264- " nikto" ,
265- " nmap" ,
266- " screenshooter" ,
267- " ssh_scan" ,
268- " sslyze" ,
269- " test-scan" ,
270- " trivy" ,
271- " wpscan" ,
272- " zap" ,
273- ]
261+ - amass
262+ - git-repo-scanner
263+ - gitleaks
264+ - kube-hunter
265+ - kubeaudit
266+ - ncrack
267+ - nikto
268+ - nmap
269+ - screenshooter
270+ - ssh_scan
271+ - sslyze
272+ - test-scan
273+ - trivy
274+ - wpscan
275+ - zap
276+
274277 steps :
275278 - name : Checkout
276279 uses : actions/checkout@v2
@@ -321,12 +324,18 @@ jobs:
321324
322325 scanners-third-party :
323326 name : " Build | Third Party Scanner"
324- needs : [unit-python, unit-javascript]
327+ needs :
328+ - unit-python
329+ - unit-javascript
325330 runs-on : ubuntu-latest
326331 strategy :
327332 matrix :
328- scanner : [gitleaks, kube-hunter, kubeaudit, ncrack, nmap]
329-
333+ scanner :
334+ - gitleaks
335+ - kube-hunter
336+ - kubeaudit
337+ - ncrack
338+ - nmap
330339 steps :
331340 - name : Checkout
332341 uses : actions/checkout@v2
@@ -375,11 +384,16 @@ jobs:
375384
376385 scanners-custom :
377386 name : " Build | Custom Scanner"
378- needs : [unit-python, unit-javascript]
387+ needs :
388+ - unit-python
389+ - unit-javascript
379390 runs-on : ubuntu-latest
380391 strategy :
381392 matrix :
382- scanner : ["git-repo-scanner", "screenshooter", "test-scan"]
393+ scanner :
394+ - git-repo-scanner
395+ - screenshooter
396+ - test-scan
383397 steps :
384398 - name : Checkout
385399 uses : actions/checkout@v2
@@ -421,7 +435,9 @@ jobs:
421435 scanner-nikto :
422436 # This Scanner has to be build seperately because the official image is only on GitHub but not on DockerHub
423437 name : " Build | Scanner | Nikto"
424- needs : [unit-python, unit-javascript]
438+ needs :
439+ - unit-python
440+ - unit-javascript
425441 runs-on : ubuntu-latest
426442 services :
427443 registry :
@@ -495,18 +511,20 @@ jobs:
495511 Integration-tests :
496512 name : Integration Tests | k8s ${{ matrix.k8sVersion }}
497513 needs :
498- [
499- operator,
500- hooks,
501- parsers,
502- scanners-third-party,
503- scanners-custom,
504- scanner-nikto,
505- ]
514+ - operator
515+ - hooks
516+ - parsers
517+ - scanners-third-party
518+ - scanners-custom
519+ - scanner-nikto
506520 runs-on : ubuntu-latest
507521 strategy :
508522 matrix :
509- k8sVersion : ["1.20.0", "1.19.4", "1.18.8", "1.17.11"]
523+ k8sVersion :
524+ - 1.20.0
525+ - 1.19.4
526+ - 1.18.8
527+ - 1.17.11
510528 steps :
511529 - uses : actions/checkout@master
512530 - name : " Start kind cluster"
0 commit comments