diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0685063e..9c34ff80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,7 +44,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache gradle wrapper and jars - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -54,7 +54,7 @@ jobs: ${{ runner.os }}-gradle-${{ steps.get-date.outputs.date }}- ${{ runner.os }}-gradle- - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} @@ -64,7 +64,7 @@ jobs: ${{ runner.os }}- - name: Restore pitest history from cache id: cache-pitest-history-restore - uses: actions/cache/restore@v4 + uses: actions/cache/restore@v5 with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/pitestHistory/pitestHistory key: pitestHistory-${{ hashFiles('**/*.gradle*', '**/*.java*') }} @@ -83,7 +83,7 @@ jobs: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/build/reports/ - name: Save pitest history if: always() && steps.cache-pitest-history-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@v4 + uses: actions/cache/save@v5 with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/pitestHistory/pitestHistory key: ${{ steps.cache-pitest-history-restore.outputs.cache-primary-key }} @@ -182,7 +182,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache gradle wrapper and jars - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -264,7 +264,7 @@ jobs: run: | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@v5 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 3c30452d..189fcc69 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -77,7 +77,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache nvd nist data - uses: actions/cache@v4 + uses: actions/cache@v5 id: nvd-nist-cache with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/.nvd-nist-cache @@ -86,7 +86,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@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 3546367d..31eed20b 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -39,7 +39,7 @@ jobs: run: | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/on-pr.yaml b/.github/workflows/on-pr.yaml index 919cbef8..dab1d198 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@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -107,7 +107,7 @@ jobs: echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT shell: bash - name: Cache node modules - uses: actions/cache@v4 + uses: actions/cache@v5 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 67a927a3..0769af7f 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@v4 + uses: actions/cache@v5 with: path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/backend/build/libs/gitactionboard.jar key: ${{ runner.os }}-bootjar-${{ hashFiles('**/*.gradle*') }} @@ -51,7 +51,7 @@ jobs: shell: bash - name: Cache gradle wrapper and jars if: steps.boot-jar.outputs.cache-hit != 'true' - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: | ~/.gradle/caches @@ -62,7 +62,7 @@ jobs: ${{ runner.os }}-gradle- - name: Cache node modules if: steps.boot-jar.outputs.cache-hit != 'true' - uses: actions/cache@v4 + uses: actions/cache@v5 with: path: ~/.npm key: ${{ runner.os }}-node-${{ steps.get-date.outputs.date }}-${{ hashFiles('**/package-lock.json') }}