Files
backend/.gitea/workflows/ci.yml
Andriy Oblivantsev 2b8ee5feac
CI / test (push) Failing after 7s
Use non-.git repository URL in CI checkout.
Align manual clone URL with this Gitea server's accepted path format while keeping TLS verification disabled for the runner environment.

Made-with: Cursor
2026-03-01 11:48:22 +00:00

41 lines
902 B
YAML

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout (manual for self-hosted TLS)
run: |
rm -rf .git
git init .
git remote add origin "https://git.produktor.io/${{ github.repository }}"
git -c http.sslVerify=false fetch --depth=1 origin "${{ github.sha }}"
git checkout --detach FETCH_HEAD
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.25.x"
- name: Go tests
run: go test ./...
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Bun install
working-directory: libs/geo-api-client
run: bun install
- name: Bun tests
working-directory: libs/geo-api-client
run: bun test