fix(dashpay): fix feedback items #332
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code format check | |
on: | |
pull_request: | |
branches: [ master, feature-*, bugfix-*, dashpay-* ] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
cache: gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Extract Secrets | |
run: | | |
echo "$GOOGLE_SERVICES_JSON" > wallet/google-services.json | |
echo "$LOCAL_PROPERTIES" > local.properties | |
env: | |
GOOGLE_SERVICES_JSON : ${{secrets.GOOGLE_SERVICES_JSON}} | |
LOCAL_PROPERTIES: ${{secrets.LOCAL_PROPERTIES}} | |
- name: Ktlint | |
run: ./gradlew ktlintCheck |