Add CI/CD for AI service
All checks were successful
CI / test (push) Successful in 25s
Build and Deploy / build-and-deploy (push) Successful in 53s

This commit is contained in:
Grendgi
2026-06-08 13:37:06 +03:00
parent 9d65ee323c
commit 0081e910ba
6 changed files with 193 additions and 1 deletions

21
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,21 @@
name: CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- run: go build ./...
- run: go test ./...
- uses: golangci/golangci-lint-action@v7
with:
version: v2.4
args: --config .golangci.yml ./...