PR :: Request 객체 전역화 #632
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: ktlint | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
ktlint: | |
name: Check Code Quality | |
runs-on: ubuntu-latest | |
if: ${{ ! startsWith(github.event.head_commit.message, '!!') }} | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Setup JDK | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: gradle caching | |
uses: actions/cache@v3 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle.kts*', '**/gradle-wrapper.properties') }} | |
- name: Run ktlint | |
run: | | |
./gradlew ktlintCheck --daemon --parallel --configure-on-demand |