Skip to content

Migrate to Kotlin 1.9 #93

Migrate to Kotlin 1.9

Migrate to Kotlin 1.9 #93

Workflow file for this run

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