From a49ac32aa8949deecbaa4ab3993c0b2679e0dca0 Mon Sep 17 00:00:00 2001 From: liangxu Date: Thu, 30 Apr 2026 23:19:24 +0800 Subject: [PATCH] chore(ci): drop unused GitHub Actions backend workflow Co-Authored-By: Claude Opus 4.7 (1M context) --- .github/workflows/backend-ci.yml | 56 -------------------------------- 1 file changed, 56 deletions(-) delete mode 100644 .github/workflows/backend-ci.yml diff --git a/.github/workflows/backend-ci.yml b/.github/workflows/backend-ci.yml deleted file mode 100644 index 3e11e62..0000000 --- a/.github/workflows/backend-ci.yml +++ /dev/null @@ -1,56 +0,0 @@ -name: Backend CI - -on: - push: - paths: - - "server/**" - - ".github/workflows/backend-ci.yml" - pull_request: - paths: - - "server/**" - - ".github/workflows/backend-ci.yml" - -permissions: - contents: read - -jobs: - backend: - runs-on: ubuntu-latest - defaults: - run: - working-directory: server - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Go - uses: actions/setup-go@v5 - with: - go-version-file: server/go.mod - cache-dependency-path: server/go.sum - - - name: Add Go bin to PATH - run: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" - - - name: Install sqlc - run: go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.30.0 - - - name: Generate sqlc code - run: make sqlc-generate - - - name: Verify generated code is committed - run: git diff --exit-code -- internal/tenant/repository/generated - - - name: Check tenant SQL scope guard - run: make tenant-scope-guard - - - name: Run tests - run: make test - - - name: Run golangci-lint - uses: golangci/golangci-lint-action@v6 - with: - version: v1.59.1 - working-directory: server - args: ./...