Update kotlin dependencies #262
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
# Runs a gradle build for the entire project, and then runs all unit tests. | |
name: "Build & Test" | |
on: | |
# Automatically run on pushes directly to main. | |
push: | |
branches: [ main ] | |
# Automatically run on PRs off of main. | |
pull_request: | |
branches: [ main ] | |
# Allow manual re-reuns. | |
workflow_dispatch: | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup JDK 21 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'adopt' | |
java-version: '21' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Build app | |
run: ./gradlew :app:assembleDebug | |
- name: Run all unit tests | |
run: ./gradlew test |