From b443f3636fbade6c2cea90d1b8ea45d3287e833b Mon Sep 17 00:00:00 2001 From: jmj Date: Wed, 18 Mar 2026 16:50:53 +0900 Subject: [PATCH 1/4] =?UTF-8?q?chore:=20=ED=94=84=EB=A1=9C=EC=A0=9D?= =?UTF-8?q?=ED=8A=B8=20=EC=B4=88=EA=B8=B0=20=EC=84=A4=EC=A0=95=20-=20.vsco?= =?UTF-8?q?de?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .vscode/.gitkeep diff --git a/.vscode/.gitkeep b/.vscode/.gitkeep new file mode 100644 index 00000000..e69de29b From 24ef1860578ec3a765c1618d2d5438677649c9d1 Mon Sep 17 00:00:00 2001 From: jmj Date: Wed, 18 Mar 2026 16:53:14 +0900 Subject: [PATCH 2/4] =?UTF-8?q?chore:=20=ED=94=84=EB=A1=9C=EC=A0=9D?= =?UTF-8?q?=ED=8A=B8=20=EC=B4=88=EA=B8=B0=20=EC=84=A4=EC=A0=95=20-=20ide?= =?UTF-8?q?=20=EC=84=A4=EC=A0=95=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/.gitkeep | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .vscode/.gitkeep diff --git a/.vscode/.gitkeep b/.vscode/.gitkeep deleted file mode 100644 index e69de29b..00000000 From 68f41dff8e841d447c7afc636de28675faf46aa4 Mon Sep 17 00:00:00 2001 From: jmj Date: Wed, 18 Mar 2026 16:56:15 +0900 Subject: [PATCH 3/4] =?UTF-8?q?chore:=20PR=20=EB=B3=91=ED=95=A9=20?= =?UTF-8?q?=EC=A0=84=20lint=20=EA=B2=80=EC=82=AC=ED=95=98=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20github=20action=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/lint.yml | 92 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..2be9f128 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,92 @@ +name: Lint Check + +on: + pull_request: + branches: + - main + - develop + push: + branches: + - main + - develop + +jobs: + lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Setup Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + cache: 'pip' + + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version: '1.22' + + # Frontend (TypeScript) + - name: Install frontend dependencies + working-directory: ./frontend + run: npm ci + + - name: Lint frontend + working-directory: ./frontend + run: npm run lint + + - name: Type check frontend + working-directory: ./frontend + run: npm run type-check + + # Backend (Java + Go) + - name: Lint backend Java + working-directory: ./backend + run: | + if [ -f "pom.xml" ]; then + mvn checkstyle:check + elif [ -f "build.gradle" ] || [ -f "build.gradle.kts" ]; then + ./gradlew checkstyleMain checkstyleTest + fi + + - name: Lint backend Go + working-directory: ./backend + run: | + if [ -f "go.mod" ]; then + go fmt ./... + go vet ./... + if ! command -v golangci-lint &> /dev/null; then + curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin + fi + golangci-lint run + fi + + # AI (Python) + - name: Install AI dependencies + working-directory: ./ai + run: | + pip install -r requirements.txt + pip install flake8 black pylint + + - name: Lint AI (flake8) + working-directory: ./ai + run: flake8 . --max-line-length=120 --exclude=venv,__pycache__ + + - name: Check AI formatting (black) + working-directory: ./ai + run: black --check . From 094f138f001ef55b74f75f3ba28109504bc7fcdf Mon Sep 17 00:00:00 2001 From: jmj Date: Wed, 18 Mar 2026 17:01:26 +0900 Subject: [PATCH 4/4] =?UTF-8?q?chore:=20pull=20request=20template=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/pull_request_template.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..2006379e --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1 @@ +## 변경 사항