Skip to content

🤹 Migrate project to Kotlin Multiplatform #13

🤹 Migrate project to Kotlin Multiplatform

🤹 Migrate project to Kotlin Multiplatform #13

Workflow file for this run

name: Run Unit Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
# Checkout the code
- name: Checkout repository
uses: actions/checkout@v4
# Set up JDK
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin' # Use Eclipse Temurin distribution
java-version: '17' # Replace with your project's JDK version
# Cache Gradle dependencies
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
# Run unit tests
- name: Run unit tests
run: ./gradlew test