Skip to content

Commit f80c88d

Browse files
authored
Update main.yml
1 parent 13ff6fa commit f80c88d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ on:
88
- master
99

1010
jobs:
11-
wiz-cli-scan:
12-
name: "Wiz-cli ${{ matrix.scan-type }} Scan"
11+
wiz-scan:
12+
name: "Wiz-cli Scan"
1313
runs-on: ubuntu-latest
14-
strategy:
15-
matrix:
16-
scan-type: [iac, dir]
1714
env:
1815
SCAN_PATH: "."
1916

@@ -30,5 +27,8 @@ jobs:
3027
WIZ_CLIENT_ID: ${{ secrets.WIZ_CLIENT_ID }}
3128
WIZ_CLIENT_SECRET: ${{ secrets.WIZ_CLIENT_SECRET }}
3229

33-
- name: Run wiz CLI scan
34-
run: ./wizcli ${{ matrix.scan-type }} scan --path $SCAN_PATH
30+
- name: Run IaC scan
31+
run: ./wizcli iac scan --path $SCAN_PATH
32+
33+
- name: Run Dir scan
34+
run: ./wizcli dir scan --path $SCAN_PATH

0 commit comments

Comments
 (0)