From fbd35e526d6f8ab66c06c28b7bfbda10451fb6db Mon Sep 17 00:00:00 2001 From: Vladimir Parfenov1 Date: Mon, 3 Oct 2022 18:50:18 +0400 Subject: [PATCH] Set up Google Java style guide linter as CI step #157 --- .github/workflows/checkstyle.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/checkstyle.yml diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml new file mode 100644 index 00000000..6c35a0e6 --- /dev/null +++ b/.github/workflows/checkstyle.yml @@ -0,0 +1,14 @@ +name: checkstyle + +on: + pull_request: + branches: + - main +jobs: + formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 # v2 minimum required + - uses: axel-op/googlejavaformat-action@v3 + with: + args: "--set-exit-if-changed" \ No newline at end of file