From ec450706c656a09be172416215d33e79d4cd9c68 Mon Sep 17 00:00:00 2001 From: Daniel Biehl Date: Fri, 3 Jan 2025 11:57:31 +0100 Subject: [PATCH] ci: enable gradle verifyPlugin in code-quality workflow --- .../workflows/build-test-package-publish.yml | 27 +++++++++++++++++++ cliff.toml | 5 +--- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-package-publish.yml b/.github/workflows/build-test-package-publish.yml index cf7763de..f8287348 100644 --- a/.github/workflows/build-test-package-publish.yml +++ b/.github/workflows/build-test-package-publish.yml @@ -114,12 +114,39 @@ jobs: - name: Ensure latest hatch is installed run: pipx install hatch + - name: Gradle Wrapper Validation + uses: gradle/actions/wrapper-validation@v4 + + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: zulu + java-version: 21 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + with: + gradle-home-cache-cleanup: true + + # Set environment variables + - name: Export Properties + id: properties + shell: bash + run: | + echo "pluginVerifierHomeDir=~/.pluginVerifier" >> $GITHUB_OUTPUT + - run: hatch run lint:style if: always() - run: hatch run lint:typing if: always() + - run: | + cd intellij-client + ./gradlew verifyPlugin + + if: always() + package: needs: [code-quality, test] diff --git a/cliff.toml b/cliff.toml index 56cf6b92..4a3daa0e 100644 --- a/cliff.toml +++ b/cliff.toml @@ -81,10 +81,7 @@ commit_parsers = [ { message = "^style", group = "Styling", skip = true }, { message = "^test", group = "Testing" }, { message = "^chore\\(release\\): prepare for", skip = true }, - { message = "^chore\\(deps\\)", skip = true }, - { message = "^chore\\(pr\\)", skip = true }, - { message = "^chore\\(pull\\)", skip = true }, - { message = "^chore\\(build\\)", skip = true }, + { message = "^chore\\(.*\\)", group = "Miscellaneous Tasks", skip = true }, { message = "^chore|ci", group = "Miscellaneous Tasks", skip = true }, { message = "^bump", skip = true }, { body = ".*security", group = "Security" },