From 8e02f40a74f15797b38e337c2fcfd5b2dd85ee8d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 07:57:04 +0000 Subject: [PATCH] Bump actions/cache from 3 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/build.yml | 4 ++-- .github/workflows/code-scan-codeql.yml | 2 +- .github/workflows/code-scan-sonarcloud.yml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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