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://oauth2:${{ github.token }}@git.produktor.io/${{ github.repository }}.git" 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