Setting: 애플리케이션의 로그를 파일로 기록한다. #30
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |