From 0f1484a92a8c9aedcf9dd9d8025dbc123c4dbd14 Mon Sep 17 00:00:00 2001 From: virustotalop Date: Wed, 5 Apr 2023 00:07:24 -0700 Subject: [PATCH] Integrate gradle validation into build script --- .github/workflows/build.yml | 2 ++ .github/workflows/gradle-wrapper-validation.yml | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 .github/workflows/gradle-wrapper-validation.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3b540f896..889a3899f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,6 +14,8 @@ jobs: with: distribution: 'temurin' java-version: '11' + - name: Gradle validation + uses: gradle/wrapper-validation-action@v1 - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Build with Gradle diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml deleted file mode 100644 index 405a2b306..000000000 --- a/.github/workflows/gradle-wrapper-validation.yml +++ /dev/null @@ -1,10 +0,0 @@ -name: "Validate Gradle Wrapper" -on: [push, pull_request] - -jobs: - validation: - name: "Validation" - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: gradle/wrapper-validation-action@v1