Run CI tests from mounted workspace instead of checkout.
CI / test (push) Failing after 4s

Remove repository clone logic and validate the runner-provided workspace directly before executing Go and Bun test steps.

Made-with: Cursor
This commit is contained in:
2026-03-01 11:49:44 +00:00
parent 2b8ee5feac
commit 047c6f6055
+3 -6
View File
@@ -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