fix(ci): add CGO_ENABLED and GITEA_* env vars
Test / vet (push) Successful in 37s
Release / release (push) Successful in 15s
Test / test (push) Failing after 41s
Test / toml-test (push) Successful in 41s

This commit is contained in:
2026-07-26 18:41:14 +02:00
parent 818d863827
commit 376a1120fe
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -41,6 +41,9 @@ jobs:
- name: Create release - name: Create release
env: env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
GITEA_SERVER_URL: ${{ gitea.server_url }}
GITEA_REPOSITORY: ${{ gitea.repository }}
GITEA_REF_NAME: ${{ gitea.ref_name }}
run: | run: |
set -euo pipefail set -euo pipefail
+2
View File
@@ -40,6 +40,8 @@ jobs:
go-version: "1.26" go-version: "1.26"
- name: go test -race - name: go test -race
env:
CGO_ENABLED: "1"
run: go test -race -count=1 ./... run: go test -race -count=1 ./...
- name: build example - name: build example