diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 6eacf48dab..d8b2e2a366 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -16,7 +16,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-build-${{ hashFiles('**/pom.xml') }} @@ -128,7 +128,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-build-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/detekt.yml b/.github/workflows/detekt.yml index 820c8fcdc1..4622ff3f0b 100644 --- a/.github/workflows/detekt.yml +++ b/.github/workflows/detekt.yml @@ -18,7 +18,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-detekt-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/diktat.yml b/.github/workflows/diktat.yml index d92fb037c6..76dc8baf6d 100644 --- a/.github/workflows/diktat.yml +++ b/.github/workflows/diktat.yml @@ -21,7 +21,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-diktat-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/diktat_snapshot.yml b/.github/workflows/diktat_snapshot.yml index 9c778aac0e..c991330233 100644 --- a/.github/workflows/diktat_snapshot.yml +++ b/.github/workflows/diktat_snapshot.yml @@ -20,7 +20,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository (shared with regular CI build) - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-build-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/metrics_for_master.yml b/.github/workflows/metrics_for_master.yml index 4e0a23ee32..db35447249 100644 --- a/.github/workflows/metrics_for_master.yml +++ b/.github/workflows/metrics_for_master.yml @@ -21,7 +21,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 # keys are the same as in build_and_test workflow to make cache available for PRs with: path: ~/.m2/repository diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6b999e82c8..f775580fde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: distribution: zulu java-version: 11 - name: Cache local Maven repository - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2/repository key: maven-build-${{ hashFiles('**/pom.xml') }}