Replace deprecated Google Auth library #95
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: Build and test | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'corretto' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Create piano.properties | |
env: | |
AID: ${{ secrets.SAMPLE_AID }} | |
run: echo "io.piano.aid=$AID" > sample/piano.properties | |
- name: Check codestyle | |
run: ./gradlew ktlintCheck --continue | |
- name: Check API binary compatibility | |
run: ./gradlew apiCheck | |
- name: Build project | |
run: ./gradlew testDebug sample:asDeb |