Skip to content

chore: 개발환경 통일 #82

chore: 개발환경 통일

chore: 개발환경 통일 #82

Workflow file for this run

name: Spotless Check
on: [ pull_request ]
jobs:
spotless:
name: Spotless Check
runs-on: ubuntu-latest
steps:
- name: Clone repo with submodules
uses: actions/checkout@v3
with:
fetch-depth: 1
submodules: true # 서브모듈도 함께 체크아웃
token: ${{secrets.PRIVATE_TOKEN}}
- name: Set up JDK 17
uses: actions/setup-java@v3
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
run: ./gradlew spotlessCheck