upgrade dependencies (Kotlin 2.0.20 and more) #238
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
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: ⚙️ Build and Test | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🚚 | |
uses: actions/checkout@v4 | |
- name: Set up JDK ☕ | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 19 | |
distribution: temurin | |
cache: gradle | |
- name: Setup Gradle 🐘 | |
uses: gradle/actions/setup-gradle@v3 | |
with: | |
dependency-graph: generate-and-submit | |
build-scan-publish: true | |
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service" | |
build-scan-terms-of-use-agree: "yes" | |
- name: Build ⚙️ | |
run: ./gradlew build -x test | |
- name: Unit Test 🧪 | |
run: ./gradlew test |