diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 2d014d04..9b80f4e8 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -27,7 +27,7 @@ jobs: - uses: olafurpg/setup-scala@v14 with: java-version: adopt@1.11 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache key: ${{ runner.os }}-snapshot-${{ hashFiles('**/*.sbt') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eba0db6f..faeacd0f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -43,7 +43,7 @@ jobs: with: distribution: 'zulu' java-version: ${{ matrix.version }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache key: ${{ runner.os }}-jdk${{ matrix.version }}-${{ hashFiles('**/*.sbt') }}