Add CI workflow
Some checks failed
CI / python (push) Failing after 12m10s
CI / go (push) Failing after 34s
Build and Deploy / build-and-deploy (push) Successful in 19s

This commit is contained in:
Grendgi
2026-06-09 10:33:53 +03:00
parent 1b8382a6ca
commit 95112cc450
2 changed files with 66 additions and 0 deletions

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

@@ -0,0 +1,30 @@
name: CI
on:
push:
pull_request:
jobs:
go:
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 ./...
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m compileall app