diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index db62063a..9b929981 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -74,6 +74,8 @@ jobs: - name: Check tests continue-on-error: true run: | + go version + ginkgo version for PKG in $(find $(pwd) -type f -name "*_suite_test.go" | sort -u ); do cd $(dirname $PKG); diff --git a/artifact/client/model.go b/artifact/client/model.go index b06f645e..59205922 100644 --- a/artifact/client/model.go +++ b/artifact/client/model.go @@ -188,7 +188,7 @@ func (g *ClientHelper) GetLatestMinor(major, minor int) (release *version.Versio return } - for i := 1; i < len(vers); i++ { + for i := 0; i < len(vers); i++ { if vers[i] == nil { continue } diff --git a/go.mod b/go.mod index bef522de..e462e3fb 100644 --- a/go.mod +++ b/go.mod @@ -38,7 +38,7 @@ require ( github.com/spf13/jwalterweatherman v1.1.0 github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf // indirect github.com/stretchr/testify v1.5.1 // indirect - github.com/ugorji/go v1.1.10 // indirect + github.com/ugorji/go v1.1.11 // indirect github.com/vbauerster/mpb/v5 v5.3.0 github.com/xanzy/go-gitlab v0.38.1 golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0