Skip to content

Commit

Permalink
ci: enable gradle verifyPlugin in code-quality workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
d-biehl committed Jan 3, 2025
1 parent e618db5 commit ec45070
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build-test-package-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
5 changes: 1 addition & 4 deletions cliff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" },
Expand Down

0 comments on commit ec45070

Please sign in to comment.