From 93fc706bf241ad089d0aaf0dbaa68bda7263da5f Mon Sep 17 00:00:00 2001 From: Nepomuk Seiler Date: Sat, 9 Mar 2024 20:02:45 +0100 Subject: [PATCH] Add github action for checkstyle --- .github/workflows/pr-checkstyle.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/pr-checkstyle.yml diff --git a/.github/workflows/pr-checkstyle.yml b/.github/workflows/pr-checkstyle.yml new file mode 100644 index 00000000000..b57ba9382a3 --- /dev/null +++ b/.github/workflows/pr-checkstyle.yml @@ -0,0 +1,15 @@ +name: checkstyle +on: [pull_request] +jobs: + checkstyle: + name: runner / checkstyle + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: dbelyaev/action-checkstyle@master + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-review + level: error + checkstyle_version: "10.3" + fail_on_error: true \ No newline at end of file