-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 린트 액션을 추가합니다 #27
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: lint | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
|
||
- name: Grant execute permission for gradlew | ||
run: chmod +x gradlew | ||
|
||
- name: Test with Ktlint | ||
run: ./gradlew --info ktlintCheck | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이 코드 패치에 대해 간략히 살펴보면 다음과 같습니다:
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,3 @@ dependencies { | |
implementation("org.flywaydb:flyway-core:${DependencyVersion.FLYWAY}") | ||
implementation("org.flywaydb:flyway-mysql") | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 이 패치의 변경 사항은 두 가지 입니다:
버그 리스크를 관리하려면, 이 변경 사항을 테스트 환경에서 적용하고, 테스트 케이스 실행을 통해 요구 사항을 충족하는지 검증해야 합니다. 더 개선시키려면, 버전 관리를 위해 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코드 패치를 검토해보면 다음과 같은 피드백을 드릴 수 있습니다:
actions/setup-java@v1
대신actions/setup-java@v2
를 사용하는 것을 추천합니다. v2 버전은 병렬적인 작업이 가능하며, 보안 강화, 버그 픽스 등의 이점이 있습니다.수정 제안: