From 6a79820d2dfa38b2e812bf65878d51a1654fa42b Mon Sep 17 00:00:00 2001 From: Vladimir Valekzhanin Date: Sun, 4 Oct 2026 13:45:10 +0300 Subject: [PATCH 1/5] feat: create check-lint job --- .github/workflows/workflow.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2742724..d0bc368 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -35,4 +35,16 @@ jobs: - name: Set up JDK uses: ./.github/actions/setup-jdk - name: Check formatting - run: mvn -B spotless:check --file pom.xml \ No newline at end of file + run: mvn -B spotless:check --file pom.xml + + check-lint: + needs: build + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v5 + - name: Set up JDK + uses: ./.github/actions/setup-jdk + - name: Check lint + run: mvn -B checkstyle:check --file pom.xml \ No newline at end of file From 36c852175c1aa6910e5a0f52a02c80476abfc0e3 Mon Sep 17 00:00:00 2001 From: Vladimir Valekzhanin Date: Sun, 4 Oct 2026 13:48:47 +0300 Subject: [PATCH 2/5] feat: write checkstyle.xml --- checkstyle.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 checkstyle.xml diff --git a/checkstyle.xml b/checkstyle.xml new file mode 100644 index 0000000..9090167 --- /dev/null +++ b/checkstyle.xml @@ -0,0 +1,11 @@ + + + + + + + + + \ No newline at end of file From b08969ae3f6f26416e1f3f5f68f6e929394feda0 Mon Sep 17 00:00:00 2001 From: Vladimir Valekzhanin Date: Sun, 4 Oct 2026 13:48:57 +0300 Subject: [PATCH 3/5] feat: add checkstyle plugin --- pom.xml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d1e244a..66d3ed7 100644 --- a/pom.xml +++ b/pom.xml @@ -197,6 +197,24 @@ + + org.apache.maven.plugins + maven-checkstyle-plugin + 3.6.0 + + checkstyle.xml + true + true + + + + verify + + check + + + + - + \ No newline at end of file From a388814e2c9fe306b8bedeed9cc1d4cb766e7668 Mon Sep 17 00:00:00 2001 From: Vladimir Valekzhanin Date: Sun, 4 Oct 2026 13:51:43 +0300 Subject: [PATCH 4/5] chore: rename check-lint to lint --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index d0bc368..0dbfbce 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -37,7 +37,7 @@ jobs: - name: Check formatting run: mvn -B spotless:check --file pom.xml - check-lint: + lint: needs: build runs-on: ubuntu-latest permissions: From e6b437af999777adfacbf20e649a9e9a7dfec9bd Mon Sep 17 00:00:00 2001 From: Vladimir Valekzhanin Date: Sun, 4 Oct 2026 14:09:21 +0300 Subject: [PATCH 5/5] chore: update action versions --- .github/actions/setup-jdk/action.yml | 2 +- .github/workflows/workflow.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/setup-jdk/action.yml b/.github/actions/setup-jdk/action.yml index 209dfce..62bc4ff 100644 --- a/.github/actions/setup-jdk/action.yml +++ b/.github/actions/setup-jdk/action.yml @@ -5,7 +5,7 @@ runs: using: "composite" steps: - name: Set up JDK 25 - uses: actions/setup-java@v5 + uses: actions/setup-java@v6 with: java-version: '25' distribution: 'temurin' diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0dbfbce..0b97cfd 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -13,7 +13,7 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Set up JDK uses: ./.github/actions/setup-jdk - name: Build with Maven @@ -31,7 +31,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Set up JDK uses: ./.github/actions/setup-jdk - name: Check formatting @@ -43,7 +43,7 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v5 + - uses: actions/checkout@v7 - name: Set up JDK uses: ./.github/actions/setup-jdk - name: Check lint