Migrate trivy scan to trivy-action (#2992)

* Migrate trivy scan to trivy-action

* Revert to hard versions approach, but not only with major ref

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>

---------

Signed-off-by: strailov <Stanislav.Trailov@bosch.io>
This commit is contained in:
Stanislav Trailov
2026-04-03 10:44:46 +03:00
committed by GitHub
parent 0e13ef6e5d
commit 273abebf9b
9 changed files with 97 additions and 51 deletions

View File

@@ -92,7 +92,7 @@ jobs:
- 5672:5672
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v6.0.2
with:
ref: ${{ inputs.revision == '0-SNAPSHOT' && github.ref || inputs.revision }}
@@ -109,7 +109,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Cache local Maven repository
uses: actions/cache@v5
uses: actions/cache@v5.0.4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}