Update dependencies #40
Workflow file for this run
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: Shared Test CI | |
on: pull_request | |
jobs: | |
test: | |
runs-on: macos-latest | |
env: | |
working-directory: ./multiplatform | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- uses: actions/setup-java@v2 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: cache gradle | |
uses: actions/cache@v1 | |
with: | |
path: ~/.gradle/caches | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- name: Run Lint | |
run: bash ../gradlew ktlintFormat | |
working-directory: ${{env.working-directory}} | |
- name: Run Unit Tests on JVM | |
run: bash ../gradlew testReleaseUnitTest | |
working-directory: ${{env.working-directory}} | |
- name: Run Unit Tests on x64 | |
run: bash ../gradlew iosX64Test | |
working-directory: ${{env.working-directory}} |