Release/1.0 #1
+2
-1
@@ -77,7 +77,7 @@ tasks:
|
|||||||
- go test -run='^Fuzz' {{.PKG}}
|
- go test -run='^Fuzz' {{.PKG}}
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
desc: Full CI pipeline — tidy check, vet, test
|
desc: Full CI pipeline — tidy check, vet, staticcheck, test
|
||||||
cmds:
|
cmds:
|
||||||
- task: tidy
|
- task: tidy
|
||||||
- |
|
- |
|
||||||
@@ -86,6 +86,7 @@ tasks:
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
- task: lint
|
- task: lint
|
||||||
|
- go tool staticcheck ./...
|
||||||
- task: test
|
- task: test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
|||||||
@@ -765,6 +765,9 @@ func TestLatestTagTagsIterFails(t *testing.T) {
|
|||||||
|
|
||||||
// Reopen so the filesystem storer holds no cached state.
|
// Reopen so the filesystem storer holds no cached state.
|
||||||
repo2, err := gogit.PlainOpen(dir)
|
repo2, err := gogit.PlainOpen(dir)
|
||||||
|
if err != nil {
|
||||||
|
t.Fatalf("PlainOpen: %v", err)
|
||||||
|
}
|
||||||
|
|
||||||
_, _, err = LatestTag(repo2, branch.Info{Major: 1, Minor: 2, TagPrefix: "v"})
|
_, _, err = LatestTag(repo2, branch.Info{Major: 1, Minor: 2, TagPrefix: "v"})
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user