Skip to content

Bump actions/cache from 3 to 4 #388

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #388

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 .