Skip to content
14 changes: 7 additions & 7 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
java-version: ${{ matrix.java }}

- name: Cache Maven
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
fi

- name: Upload demo files
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: demo-files-java-${{ matrix.java }}
path: ${{ env.DEMO_MAVEN_MODULE }}/target/${{ env.DEMO_MAVEN_MODULE }}.jar
Expand All @@ -93,15 +93,15 @@ jobs:
java-version: ${{ matrix.java }}

- name: Cache Maven
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-checkstyle-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-mvn-checkstyle-

- name: CheckStyle Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: '**/target/checkstyle-cachefile'
key: ${{ runner.os }}-checkstyle-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -129,15 +129,15 @@ jobs:
java-version: ${{ matrix.java }}

- name: Cache Maven
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-pmd-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-mvn-pmd-

- name: PMD Cache
uses: actions/cache@v4
uses: actions/cache@v5
with:
path: '**/target/pmd/pmd.cache'
key: ${{ runner.os }}-pmd-${{ hashFiles('**/pom.xml') }}
Expand All @@ -152,7 +152,7 @@ jobs:

- name: Upload report
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: pmd-report
if-no-files-found: ignore
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

# Try to reuse existing cache from check-build
- name: Try restore Maven Cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

# Try to reuse existing cache from check-build
- name: Try restore Maven Cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-build-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>12.2.0</version>
<version>12.3.0</version>
</dependency>
</dependencies>
<configuration>
Expand Down
2 changes: 1 addition & 1 deletion sessionize-java-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>12.2.0</version>
<version>12.3.0</version>
</dependency>
</dependencies>
<configuration>
Expand Down