-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from Namo-Mongmong/feature/28
[Feature/28] checkstyle action 기반으로 lint 검사기 구현
- Loading branch information
Showing
126 changed files
with
4,396 additions
and
3,455 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# top-most EditorConfig file | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.bat] | ||
end_of_line = crlf | ||
|
||
[*.adoc] | ||
indent_style = space | ||
indent_size = 4 | ||
tab_width = 4 | ||
trim_trailing_whitespace = true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Spring Boot source code | ||
*.java text eol=lf | ||
*.yml text eol=lf | ||
|
||
# C and C++ source code | ||
*.c text eol=lf | ||
*.cpp text eol=lf | ||
*.h text eol=lf | ||
|
||
# visual studio project configuration | ||
*.sln text eol=lf | ||
*.vs text eol=lf | ||
*.csproj eol=lf | ||
*.props eol=lf | ||
*.filters eol=lf |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: 🎨 Checkstyle | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
types: [ opened, synchronize, reopened ] | ||
|
||
|
||
jobs: | ||
checkstyle: | ||
name: checkstyle | ||
runs-on: ubuntu-latest # ubuntu-22.04 | ||
|
||
strategy: | ||
matrix: | ||
java: [ 17 ] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up JDK ${{ matrix.java }} | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: temurin | ||
java-version: ${{ matrix.java }} | ||
architecture: x64 | ||
cache: "gradle" | ||
|
||
- name: Run Checkstyle | ||
uses: nikitasavinov/checkstyle-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
reporter: 'github-pr-review' | ||
tool_name: 'Checkstyle for Java' | ||
checkstyle_config: lint-config/namo-checkstyle-rules.xml | ||
properties_file: lint-config/additional.properties | ||
level: warning |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# namo | ||
|
||
### ERD Cloud | ||
|
||
https://www.erdcloud.com/d/kdtBpLtftuRiBXdvc |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
suppressionFile=./lint-config/namo-checkstyle-suppressions.xml |
Oops, something went wrong.