Skip to content

Tests and actions

Tests and actions #2

Workflow file for this run

name: Java CodeStyle
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/java-codestyle.yml'
- '**/*.java'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/java-codestyle.yml'
- '**/*.java'
jobs:
check-java-codestyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'temurin'
- name: Check Java CodeStyle
run: java -Dconfig_loc=resources/.lint/java/ -jar resources/.lint/java/checkstyle-10.5.0-all.jar -c resources/.lint/java/checkstyle.xml android example/android