Merge pull request #135 from qbicsoftware/release/set-version-to-1.18.0 #390
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Java Checkstyle | |
on: [push] | |
jobs: | |
checkstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '8' | |
- name: Download Checkstyle | |
run: wget https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.31/checkstyle-8.31-all.jar | |
- name: Download Google style xml | |
run: wget https://raw.githubusercontent.com/checkstyle/checkstyle/checkstyle-8.28/src/main/resources/google_checks.xml | |
- name: Run Checkstyle | |
run: java -jar checkstyle-8.31-all.jar -c google_checks.xml . |