From c534516e332c3abb5f602bd02c1633623f3470e8 Mon Sep 17 00:00:00 2001 From: zaneschepke Date: Wed, 17 Jun 2026 03:50:31 -0400 Subject: [PATCH] ci: add gradle validation check to pr workflow --- .github/workflows/pr.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 99b751b6..f08df6f0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,16 +1,21 @@ name: on-pr + permissions: contents: read on: - workflow_dispatch: - pull_request: + workflow_dispatch: + pull_request: jobs: format_check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 + + - name: Verify Gradle Wrapper + uses: gradle/actions/wrapper-validation@v3 + - name: Set up JDK 21 uses: actions/setup-java@v5 with: @@ -22,4 +27,4 @@ jobs: run: chmod +x gradlew - name: Run ktfmt - run: ./gradlew ktfmtCheck + run: ./gradlew ktfmtCheck \ No newline at end of file