move to gitea actions
Some checks failed
Gitbump CI / test (push) Failing after 51s
Gitbump CI / build (push) Successful in 10s
Gitbump CI / notify-failure (push) Has been skipped

This commit is contained in:
2026-02-12 12:52:34 +01:00
commit 4f46101d4c
9 changed files with 611 additions and 0 deletions

14
main_test.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import "testing"
func TestParseVersion(t *testing.T) {
major, minor, patch, err := parseVersion("v0.0.0", "v")
if err != nil {
t.Fatal(err)
}
if major != 0 || minor != 0 || patch != 0 {
t.Fatal("version does not match")
}
}