From 047c6f6055cd3c632d79309652ce0c4d264656e2 Mon Sep 17 00:00:00 2001 From: Andriy Oblivantsev Date: Sun, 1 Mar 2026 11:49:44 +0000 Subject: [PATCH] Run CI tests from mounted workspace instead of checkout. Remove repository clone logic and validate the runner-provided workspace directly before executing Go and Bun test steps. Made-with: Cursor --- .gitea/workflows/ci.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 536e97e..8d8f550 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,13 +10,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout (manual for self-hosted TLS) + - name: Prepare workspace 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 + ls -la + test -f go.mod - name: Setup Go uses: actions/setup-go@v5