diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b9832b4..0558f48 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -112,7 +112,7 @@ jobs: # Cache Maven dependencies - name: Install and Cache Maven dependencies id: cache - uses: actions/cache@v3 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions + uses: actions/cache@v4 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions with: path: | ~/.m2 @@ -244,7 +244,7 @@ jobs: - name: Cache Trivy id: cache - uses: actions/cache@v3 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions + uses: actions/cache@v4 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions with: path: ${{ env.TRIVY_CACHE_DIR }} key: trivy-${{ hashFiles('**/pom.xml', '**/Containerfile*') }} # Trivy scan results are influenced by maven dependencies and Containerfile runtime image diff --git a/.github/workflows/code-scan-codeql.yml b/.github/workflows/code-scan-codeql.yml index 2deab3c..1713e48 100644 --- a/.github/workflows/code-scan-codeql.yml +++ b/.github/workflows/code-scan-codeql.yml @@ -47,7 +47,7 @@ jobs: # Cache Maven dependencies - name: Install and Cache Maven dependencies id: cache - uses: actions/cache@v3 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions + uses: actions/cache@v4 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions with: path: ~/.m2 key: maven-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/code-scan-sonarcloud.yml b/.github/workflows/code-scan-sonarcloud.yml index fdcce1d..45e1a04 100644 --- a/.github/workflows/code-scan-sonarcloud.yml +++ b/.github/workflows/code-scan-sonarcloud.yml @@ -62,14 +62,14 @@ jobs: java-version: '17' # Java version must match `project.properties['java.version']` in pom.xml - name: Cache Maven dependencies - uses: actions/cache@v3 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions + uses: actions/cache@v4 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions with: path: | ~/.m2 key: maven-${{ hashFiles('**/pom.xml') }} - name: Cache SonarCloud dependencies - uses: actions/cache@v3 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions + uses: actions/cache@v4 # https://github.com/marketplace/actions/cache#using-a-combination-of-restore-and-save-actions with: path: | ~/.sonar/cache