Skip to content

update JDK for CI, fix detekt issues #228

update JDK for CI, fix detekt issues

update JDK for CI, fix detekt issues #228

Workflow file for this run

# 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