From 35fa044d9a6c71a1b527bd0f8cc6cedd6f9cdcdc Mon Sep 17 00:00:00 2001 From: Alex Muravya Date: Tue, 19 Jan 2021 19:10:56 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Checkstyle=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=20GitHub=20Actions=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/checkstyle.yml | 19 +++++++++++++++++++ 1 file changed, 19 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 0000000..0e19e21 --- /dev/null +++ b/.github/workflows/checkstyle.yml @@ -0,0 +1,19 @@ +name: "CheckStyle" + +on: pull_request + +jobs: + checkStyle: + name: CheckStyle + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Run java checkstyle + uses: nikitasavinov/checkstyle-action@0.3.1 + with: + checkstyle_config: checkstyle.xml + reporter: 'github-pr-check' + tool_name: 'StyleReview' From 53482bfea6761ed47608e8499e9799dcd44db11f Mon Sep 17 00:00:00 2001 From: Alex Muravya Date: Tue, 19 Jan 2021 19:15:32 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Checkstyle=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=20GitHub=20Actions=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/checkstyle.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/checkstyle.yml b/.github/workflows/checkstyle.yml index 0e19e21..6232cba 100644 --- a/.github/workflows/checkstyle.yml +++ b/.github/workflows/checkstyle.yml @@ -11,6 +11,12 @@ jobs: - name: Checkout repository uses: actions/checkout@v2 + - name: Install Java 15 + uses: actions/setup-java@v1.4.3 + with: + java-version: '15' + architecture: x64 + - name: Run java checkstyle uses: nikitasavinov/checkstyle-action@0.3.1 with: