Skip to content

Use java 21 (#158) #425

Use java 21 (#158)

Use java 21 (#158) #425

Workflow file for this run

name: check
on:
push:
branches:
- '**'
workflow_call:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 21
- name: Validate Gradle wrapper
uses: gradle/[email protected]
- name: Checkstyle
uses: gradle/gradle-build-action@v2
with:
arguments: checkstyleMain checkstyleTest
- name: PMD
uses: gradle/gradle-build-action@v2
with:
arguments: pmdMain pmdTest
- name: Test
uses: gradle/gradle-build-action@v2
with:
arguments: test