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:
@@ -10,13 +10,10 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout (manual for self-hosted TLS)
|
- name: Prepare workspace
|
||||||
run: |
|
run: |
|
||||||
rm -rf .git
|
ls -la
|
||||||
git init .
|
test -f go.mod
|
||||||
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
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
|
|||||||
Reference in New Issue
Block a user