diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5a67133b50..224dcd358d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,12 +30,13 @@ jobs: with: path: | ~/.m2/repository + ~/.gradle/caches ~/.cache ~/work/pmd/target/repositories vendor/bundle - key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} + key: v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} restore-keys: | - ${{ runner.os }}- + v1-${{ runner.os }}- - name: Set up Ruby 2.7 uses: actions/setup-ruby@v1 with: diff --git a/.github/workflows/troubleshooting.yml b/.github/workflows/troubleshooting.yml index 10a35d9785..23c5d3fc33 100644 --- a/.github/workflows/troubleshooting.yml +++ b/.github/workflows/troubleshooting.yml @@ -16,12 +16,14 @@ jobs: - uses: actions/cache@v2 with: path: | - ~/.m2/repository - ~/.cache - vendor/bundle - key: push-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} + ~/.m2/repository + ~/.gradle/caches + ~/.cache + ~/work/pmd/target/repositories + vendor/bundle + key: v1-${{ runner.os }}-${{ hashFiles('**/pom.xml') }} restore-keys: | - push-${{ runner.os }}- + v1-${{ runner.os }}- - name: Set up Ruby 2.7 uses: actions/setup-ruby@v1 with: diff --git a/docs/pages/release_notes.md b/docs/pages/release_notes.md index bef7b6a4a7..f4c2c76202 100644 --- a/docs/pages/release_notes.md +++ b/docs/pages/release_notes.md @@ -36,6 +36,8 @@ This is a {{ site.pmd.release_type }} release. * [#3230](https://github.com/pmd/pmd/issues/3230): \[doc] Remove "Edit me" button for language index pages * dist * [#2466](https://github.com/pmd/pmd/issues/2466): \[dist] Distribution archive doesn't include all batch scripts +* java + * [#3269](https://github.com/pmd/pmd/pull/3269): \[java] Fix NPE in MethodTypeResolution * java-bestpractices * [#2737](https://github.com/pmd/pmd/issues/2737): \[java] Fix misleading rule message on rule SwitchStmtsShouldHaveDefault with non-exhaustive enum switch * [#3236](https://github.com/pmd/pmd/issues/3236): \[java] LiteralsFirstInComparisons should consider constant fields (cont'd)