Skip to content

Modify spotless changes #5

Modify spotless changes

Modify spotless changes #5

Workflow file for this run

name: Spotless Check
on: [push, pull_request]
jobs:
spotlessCheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: 'adopt'
- name: Cache Gradle dependencies
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle
- name: Run Spotless Check
run: ./gradlew spotlessCheck