Skip to content

Commit

Permalink
build: add spotless CI
Browse files Browse the repository at this point in the history
  • Loading branch information
whitescent committed Feb 9, 2025
1 parent 3c248fe commit 05ec86c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/spotless.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Spotless Check

on:
pull_request:
branches:
- main

jobs:
spotless:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
cache: gradle

- name: Grant execute permission for gradlew
run: chmod +x ./gradlew

- name: Run Spotless Check
run: ./gradlew spotlessCheck

0 comments on commit 05ec86c

Please sign in to comment.