From 75fa1afe6783b2f4652b115eba0a6a2854923621 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 28 Jan 2024 05:20:12 +0000 Subject: [PATCH] chore: 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 | 10 +++++----- .github/workflows/checks.yml | 4 ++-- .github/workflows/on-pr.yaml | 4 ++-- .github/workflows/trivy.yaml | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22ed2b1a..74e685f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache gradle wrapper and jars - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -51,7 +51,7 @@ jobs: ${{ runner.os }}-gradle-${{ steps.get-date.outputs.date }}- ${{ runner.os }}-gradle- - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} @@ -168,7 +168,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache gradle wrapper and jars - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -178,7 +178,7 @@ jobs: ${{ runner.os }}-gradle-${{ steps.get-date.outputs.date }}- ${{ runner.os }}-gradle- - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} @@ -251,7 +251,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6e5bda8d..23673bae 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -54,7 +54,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache nvd nist data - uses: actions/cache@v3 + uses: actions/cache@v4 id: nvd-nist-cache with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/.nvd-nist-cache @@ -63,7 +63,7 @@ jobs: ${{ runner.os }}-nvd-nist-cache-${{ steps.get-date.outputs.date }} ${{ runner.os }}-nvd-nist-cache - name: Cache gradle wrapper and jars - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches diff --git a/.github/workflows/on-pr.yaml b/.github/workflows/on-pr.yaml index ab8dcedf..0adf9210 100644 --- a/.github/workflows/on-pr.yaml +++ b/.github/workflows/on-pr.yaml @@ -63,7 +63,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache gradle wrapper and jars - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -104,7 +104,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 8ee03b61..8c637e07 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -27,7 +27,7 @@ jobs: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }} - name: Cache boot jar id: boot-jar - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/build/libs/gitactionboard.jar key: ${{ runner.os }}-bootjar-${{ hashFiles('**/*.gradle*') }} @@ -48,7 +48,7 @@ jobs: shell: bash - name: Cache gradle wrapper and jars if: steps.boot-jar.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.gradle/caches @@ -59,7 +59,7 @@ jobs: ${{ runner.os }}-gradle- - name: Cache node modules if: steps.boot-jar.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }}