Skip to content

Setting: redis setting #24

Setting: redis setting

Setting: redis setting #24

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