Files
ai-customer-service/.gitea/workflows/ci.yml
Your Name 86603659f9
Some checks failed
CI / verify (push) Failing after 1s
fix(ci): remove github action dependency from gitea workflow
2026-05-06 11:44:17 +08:00

38 lines
748 B
YAML

name: CI
on:
pull_request:
push:
branches:
- main
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- name: Verify Go toolchain
run: |
go version
pwd
test -f go.mod
- name: Verify formatting
run: |
gofmt -w $(find . -name '*.go' -not -path './vendor/*')
git diff --exit-code
- name: Run unit and integration tests
run: go test ./... -count=1
- name: Run race tests
run: go test -race ./...
- name: Run vet
run: go vet ./...
- name: Check Gate scripts syntax
run: |
bash -n scripts/verify_preprod_gate_b.sh
bash -n scripts/verify_gate_c_rollback.sh