Skip to content

Set up Spotless + Ktlint to check styles #88

Set up Spotless + Ktlint to check styles

Set up Spotless + Ktlint to check styles #88

Workflow file for this run

name: Validation
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
- name: Run build
run: ./gradlew build