Skip to content

Commit 7bbd57e

Browse files
authored
fix: upgrade action/cache (#874)
1 parent 18c4749 commit 7bbd57e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/sonar.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
build:
2929
if: github.repository == 'GoogleCloudPlatform/cloud-spanner-r2dbc' # Only run on upstream branch
3030
name: Build with Sonar
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-latest
3232
steps:
3333
- uses: actions/checkout@v2
3434
with:
@@ -38,12 +38,12 @@ jobs:
3838
with:
3939
java-version: 17
4040
- name: Cache SonarCloud packages
41-
uses: actions/cache@v2
41+
uses: actions/cache@v4
4242
with:
4343
path: ~/.sonar/cache
4444
key: ${{ runner.os }}-sonar
4545
restore-keys: ${{ runner.os }}-sonar
46-
- uses: actions/cache@v2
46+
- uses: actions/cache@v4
4747
with:
4848
path: ~/.m2/repository
4949
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)