Skip to content

Add spotless for formatting #18

Add spotless for formatting

Add spotless for formatting #18

Workflow file for this run

name: CI
on:
pull_request:
branches: [ main ]
types: [ ready_for_review, opened, reopened, synchronize ]
push:
branches: [ main ]
# Cancel in-progress runs for the same PR/branch
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Set up JDK
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 25
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: ${{ github.event_name == 'pull_request' }}
- name: Build and test
run: ./gradlew build --no-daemon