use local checkstyle
@@ -33,5 +33,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- - name: Run java checkstyle
- uses: nikitasavinov/checkstyle-action@0.4.0
\ No newline at end of file
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: '11'
+ distribution: 'adopt'
+ - name: checkstyle with Maven
+ run: mvn checkstyle:checkstyle
\ No newline at end of file
