[YS-514] chore: Gradle 캐시 적용으로 빌드 속도 개선 #32
This file contains hidden or 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: ktlint-code-quality-check | |
on: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
ktlint: | |
name: Check Code Quality | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'temurin' | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Run ktlint via Gradle | |
run: ./gradlew ktlintCheck |