diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml new file mode 100644 index 00000000..971c6423 --- /dev/null +++ b/.github/workflows/checkstyle.yml @@ -0,0 +1,15 @@ +name: Check PR Codestyle +on: [ pull_request ] + +jobs: + checkstyle: + name: Checkstyle + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: dbelyaev/action-checkstyle@v0.5.1 + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + level: warning + checkstyle_config: ../../config/checkstyle/checkstyle.xml \ No newline at end of file diff --git a/.github/workflows/java-ci.yml b/.github/workflows/java-ci.yml index 7f2b3dd8..96b17625 100644 --- a/.github/workflows/java-ci.yml +++ b/.github/workflows/java-ci.yml @@ -1,6 +1,6 @@ name: Java CI -on: [push] +on: [ push, pull_request ] jobs: build: diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml index 592102be..7664beb3 100644 --- a/.github/workflows/test-publish.yml +++ b/.github/workflows/test-publish.yml @@ -1,6 +1,6 @@ name: Publish API (Dev) -on: [ push ] +on: [ push, pull_request ] jobs: publish-release: