-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First attempt using aquasecurity/trivy-action to scan for CVEs during…
… build.
- Loading branch information
1 parent
bd82284
commit f256e95
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -214,6 +214,16 @@ jobs: | |
shell: bash | ||
run: parallelize results Build-Executor | ||
|
||
- # === Scan for CVEs (Linux only) === | ||
name: Scan for CVEs | ||
if: runner.os == 'Linux' | ||
uses: aquasecurity/[email protected] | ||
with: | ||
scan-type: fs | ||
scan-ref: '.' | ||
format: table | ||
exit-code: 1 | ||
|
||
- # === Prepare Windows Cert === | ||
name: Prepare Windows Cert | ||
shell: bash | ||
|
@@ -424,7 +434,7 @@ jobs: | |
name: Install Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
go-version: 1.22.x | ||
|
||
- # === Install State Tool === | ||
name: Install State Tool | ||
|