diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11badba..7fd15cb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -94,7 +94,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 @@ -210,7 +210,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 589d020..58494f9 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 c8cc800..04197eb 100644 --- a/.github/workflows/code-scan-sonarcloud.yml +++ b/.github/workflows/code-scan-sonarcloud.yml @@ -49,14 +49,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