Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/WSS_PR_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,22 @@ jobs:
echo amplitude.key=\"$AMPLITUDE_KEY\" >> ./local.properties

- name: Run Ktlint
if: github.event_name == 'pull_request'
uses: ScaCap/action-ktlint@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
android: true
fail_on_error: true
reporter: github-pr-review

- name: Build with Gradle
run: ./gradlew build
# 2. PR용: 모든 모듈의 로직을 검증하되, 빌드(컴파일)는 앱 중심으로 효율화
- name: Test & Assemble (PR)
if: github.event_name == 'pull_request'
# 1. 모든 모듈의 유닛 테스트 실행 (로직 검증)
# 2. 앱 모듈 디버그 빌드 실행 (의존성 모듈 자동 포함 빌드)
run: ./gradlew testDebugUnitTest :app:assembleDebug --scan

# 3. Merge(Push)용: 전체 검증 (안전장치)
- name: Full Build (Push)
if: github.event_name == 'push'
run: ./gradlew build --scan
5 changes: 4 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,7 @@ kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.nonTransitiveRClass=true
org.gradle.caching=true
org.gradle.parallel=true
org.gradle.configuration-cache=true