diff --git a/.github/workflows/onPush.yml b/.github/workflows/onPush.yml index 39d687cb321..ee0a5559b4b 100644 --- a/.github/workflows/onPush.yml +++ b/.github/workflows/onPush.yml @@ -36,6 +36,9 @@ jobs: ruby-version: '3.2' bundler-cache: true + - name: Validate Gradle Wrapper + uses: gradle/actions/wrapper-validation@v3 + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 @@ -63,9 +66,6 @@ jobs: lokalise-project: ${{ secrets.LOKALISE_PROJECT }} lokalise-token: ${{ secrets.LOKALISE_TOKEN }} - - uses: gradle/wrapper-validation-action@v2 - name: Validate Gradle Wrapper - - name: Build Release env: KEYSTORE_PASSWORD: ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }} @@ -149,6 +149,9 @@ jobs: ruby-version: '3.2' bundler-cache: true + - name: Validate Gradle Wrapper + uses: gradle/actions/wrapper-validation@v3 + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 @@ -176,9 +179,6 @@ jobs: lokalise-project: ${{ secrets.LOKALISE_PROJECT }} lokalise-token: ${{ secrets.LOKALISE_TOKEN }} - - uses: gradle/wrapper-validation-action@v2 - name: Validate Gradle Wrapper - - name: Build Release env: KEYSTORE_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_FILE_PASSWORD }} diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 93f2733d05f..6d9786267f6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -30,7 +30,7 @@ jobs: cp .github/mock-google-services.json wear/google-services.json cp .github/mock-google-services.json automotive/google-services.json - - uses: gradle/wrapper-validation-action@v2 + - uses: gradle/actions/wrapper-validation@v3 name: Validate Gradle Wrapper - name: Validate ktlint @@ -61,7 +61,7 @@ jobs: cp .github/mock-google-services.json wear/google-services.json cp .github/mock-google-services.json automotive/google-services.json - - uses: gradle/wrapper-validation-action@v2 + - uses: gradle/actions/wrapper-validation@v3 name: Validate Gradle Wrapper - name: Validate Lint @@ -91,6 +91,9 @@ jobs: distribution: 'adopt' java-version: '17' + - name: Validate Gradle Wrapper + uses: gradle/actions/wrapper-validation@v3 + - name: Setup Gradle uses: gradle/actions/setup-gradle@v3 @@ -100,9 +103,6 @@ jobs: cp .github/mock-google-services.json wear/google-services.json cp .github/mock-google-services.json automotive/google-services.json - - uses: gradle/wrapper-validation-action@v2 - name: Validate Gradle Wrapper - - name: Build Debug APK run: | ./gradlew :common:assemble