Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Set up Google Java style guide linter as CI step #162

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
use another check style action
vlparf committed Oct 3, 2022
commit 82f1d0f657383526c4f8fbec049ce5336d7119db
13 changes: 9 additions & 4 deletions .github/workflows/checkstyle.yml
Original file line number Diff line number Diff line change
@@ -5,10 +5,15 @@ on:
branches:
- main
jobs:
formatting:
checkstyle_job:
runs-on: ubuntu-latest
name: Checkstyle job
steps:
- uses: actions/checkout@v2 # v2 minimum required
- uses: axel-op/googlejavaformat-action@v3
- name: Checkout
uses: actions/checkout@v2
- name: Run check style
uses: nikitasavinov/checkstyle-action@master
with:
args: "--set-exit-if-changed"
github_token: ${{ secrets.GITHUB_TOKEN }}
reporter: 'github-pr-check'
tool_name: 'testtool'