Skip to content

Refactor clean-up job to use GitHub API #146

Refactor clean-up job to use GitHub API

Refactor clean-up job to use GitHub API #146

Workflow file for this run

name: "Check Java files with CheckStyle"
on:
pull_request:
paths:
- "**/*.java"
jobs:
checkstyle:
runs-on: ubuntu-latest
steps:
- name: Setup Maven
uses: s4u/[email protected]
- name: Run CheckStyle
uses: nikitasavinov/checkstyle-action@master
with:
level: error
fail_on_error: true
workdir: "./src"
checkstyle_config: "./checkstyle.xml"
github_token: ${{ secrets.API_TOKEN }}