Skip to content

fix tests, adjust gh actions #8

fix tests, adjust gh actions

fix tests, adjust gh actions #8

Workflow file for this run

name: Linter
on:
workflow_dispatch:
push:
branches:
- main
paths: [src/**]
pull_request:
branches:
- main
jobs:
linter:
name: Java Linter
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4 # v2 minimum required
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: maven
- name: Google Java Format
uses: axel-op/googlejavaformat-action@v3
with:
args: "--skip-sorting-imports --replace"
github-token: ${{ secrets.GITHUB_TOKEN }}