Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official Gradle Wrapper Validation Action #3980

Merged
merged 4 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/onPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ jobs:
lokalise-project: ${{ secrets.LOKALISE_PROJECT }}
lokalise-token: ${{ secrets.LOKALISE_TOKEN }}

- uses: gradle/wrapper-validation-action@v1
name: Validate Gradle Wrapper

- name: Build Release
env:
KEYSTORE_PASSWORD: ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }}
Expand Down Expand Up @@ -177,6 +180,9 @@ jobs:
lokalise-project: ${{ secrets.LOKALISE_PROJECT }}
lokalise-token: ${{ secrets.LOKALISE_TOKEN }}

- uses: gradle/wrapper-validation-action@v1
name: Validate Gradle Wrapper

- name: Build Release
env:
KEYSTORE_PASSWORD: ${{ secrets.UPLOAD_KEYSTORE_FILE_PASSWORD }}
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ 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@v1
name: Validate Gradle Wrapper

- name: Validate ktlint
run: ./gradlew ktlintCheck

Expand Down Expand Up @@ -58,6 +61,9 @@ 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@v1
name: Validate Gradle Wrapper

- name: Validate Lint
run: ./gradlew lint

Expand Down Expand Up @@ -100,6 +106,9 @@ 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@v1
name: Validate Gradle Wrapper

- name: Build Debug APK
run: ./gradlew assembleDebug

Expand Down