Make the CI gate work on Gitea by building instead of bind-mounting
Tests / vet + fmt + tests (pull_request) Successful in 27s
Tests / vet + fmt + tests (push) Successful in 6s

This commit was merged in pull request #1.
This commit is contained in:
2026-09-01 20:33:04 +02:00
parent 05dc042e49
commit d44c941a92
5 changed files with 26 additions and 25 deletions
+3 -2
View File
@@ -176,8 +176,9 @@ func TestRunVersion(t *testing.T) {
if code != 0 {
t.Fatalf("-version = %d, stderr=%q", code, errb)
}
if strings.TrimSpace(out) == "" {
t.Error("-version: want a version on stdout")
version, ok := strings.CutPrefix(out, "fejkdata ")
if !ok || strings.TrimSpace(version) == "" {
t.Errorf("-version = %q, want the command name and a version on stdout", out)
}
}