refactor: 重构目录结构,后端代码统一到 backend/ 目录
All checks were successful
GoLoom CI / Lint (push) Successful in 3m7s
GoLoom CI / Test (push) Successful in 5s
GoLoom CI / Build (push) Successful in 24s

This commit is contained in:
hhs
2026-06-10 15:35:32 +08:00
parent caada15831
commit 8c515a8b3e
23 changed files with 13 additions and 4 deletions

View File

@@ -15,6 +15,9 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -34,6 +37,9 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -58,12 +64,15 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: coverage-report
path: coverage.out
path: backend/coverage.out
build:
name: Build
runs-on: ubuntu-latest
needs: [lint, test]
defaults:
run:
working-directory: backend
steps:
- name: Checkout code
uses: actions/checkout@v4
@@ -83,7 +92,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: goloom-server
path: goloom-server
path: backend/goloom-server
# TODO: 添加 Dockerfile 后启用
# docker:

4
.gitignore vendored
View File

@@ -6,7 +6,7 @@
*.dylib
*.test
*.out
coverage.out
backend/coverage.out
# IDE
.idea/
@@ -19,7 +19,7 @@ coverage.out
Thumbs.db
# Environment
.env
backend/.env
# Documentation
docs/