From 226a236bf2942399b997389b2fe9476fa974c382 Mon Sep 17 00:00:00 2001 From: Lectom C Han Date: Fri, 20 Feb 2026 10:20:38 +0900 Subject: [PATCH] =?UTF-8?q?CI=20lint=EC=97=90=20format=EB=8F=84=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/code_check.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/code_check.yml b/.gitea/workflows/code_check.yml index 5c1e2546..8f188d20 100644 --- a/.gitea/workflows/code_check.yml +++ b/.gitea/workflows/code_check.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: inputs: run_lint: - description: "Run linters for Go and Flutter" + description: "Run lint/format checks for Go, Flutter, adminfront, devfront" required: true type: boolean default: true @@ -67,6 +67,28 @@ jobs: channel: "stable" cache: true + - name: Install adminfront dependencies + run: | + cd adminfront + npm ci + + - name: Biome check adminfront (lint + format) + run: | + cd adminfront + npx biome lint . + npx biome format . --check + + - name: Install devfront dependencies + run: | + cd devfront + npm ci + + - name: Biome check devfront (lint + format) + run: | + cd devfront + npx biome lint . + npx biome format . --check + - name: Lint Go backend uses: golangci/golangci-lint-action@v6 with: @@ -74,6 +96,11 @@ jobs: working-directory: backend args: --enable-only=gofmt,gofumpt + - name: Format Flutter userfront + run: | + cd userfront + dart format --output=none --set-exit-if-changed lib test + - name: Analyze Flutter userfront run: | cd userfront @@ -158,7 +185,7 @@ jobs: userfront-tests: needs: lint if: ${{ always() && (github.event_name != 'workflow_dispatch' || inputs.run_userfront_tests == true) }} - runs-on: ubuntu-latest-slim + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4