diff --git a/.github/workflows/jvm_tests.yml b/.github/workflows/jvm_tests.yml index 640e41bdbbfe..85a284e79329 100644 --- a/.github/workflows/jvm_tests.yml +++ b/.github/workflows/jvm_tests.yml @@ -32,7 +32,7 @@ jobs: use-mamba: true - name: Cache Maven packages - uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('./jvm-packages/pom.xml') }} diff --git a/.github/workflows/r_tests.yml b/.github/workflows/r_tests.yml index f3d83b823aff..de93bd0f26e3 100644 --- a/.github/workflows/r_tests.yml +++ b/.github/workflows/r_tests.yml @@ -34,7 +34,7 @@ jobs: r-version: ${{ matrix.config.r }} - name: Cache R packages - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v3.0.11 with: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }} @@ -78,7 +78,7 @@ jobs: r-version: ${{ matrix.config.r }} - name: Cache R packages - uses: actions/cache@937d24475381cd9c75ae6db12cb4e79714b926ed # v3.0.11 + uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v3.0.11 with: path: ${{ env.R_LIBS_USER }} key: ${{ runner.os }}-r-${{ matrix.config.r }}-7-${{ hashFiles('R-package/DESCRIPTION') }}