diff --git a/.github/workflows/java-format-checker.yml b/.github/workflows/java-format-checker.yml new file mode 100644 index 00000000..c873ea24 --- /dev/null +++ b/.github/workflows/java-format-checker.yml @@ -0,0 +1,13 @@ +name: Check Java Format + +on: [ push, pull_request ] + +jobs: + + formatting: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 # v2 minimum required + - uses: axel-op/googlejavaformat-action@v3 + with: + args: "--skip-sorting-imports --replace"