Fix failing ci/cd setup
Go Tests / test (push) Failing after 2s

This commit is contained in:
2026-06-02 22:14:44 +02:00
parent f19c82a2ad
commit f3c5fb5fe6
+15 -9
View File
@@ -1,4 +1,4 @@
name: Debug
name: Go Tests
on:
push:
@@ -10,18 +10,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Show workspace
- name: Checkout repository
run: |
git clone \
"${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" \
.
git checkout "${GITHUB_SHA}"
- name: Verify checkout
run: |
echo "=== Workspace ==="
pwd
ls -la
test -f go.mod
- name: Dump environment variables
- name: Download dependencies
run: |
echo "=== Environment Variables ==="
env | sort
go mod download
- name: Dump relevant variables only
- name: Run tests
run: |
echo "=== Repository-related Variables ==="
env | grep -Ei 'gitea|github|repo|repository|workspace|ci'
go test ./... -v