From 47d6c85ece303612bd167626e9a8cc6dea5a8696 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 22 Jan 2024 22:46:29 +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 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