kevincobain2000 / gobrew

Go version manager, written in Go. Super simple tool to install and manage Go versions. Install go without root. Gobrew doesn't require shell rehash.
https://medium.com/web-developer/go-version-manager-gobrew-c8750157dfe6
MIT License
358 stars 24 forks source link

vup 1.22 and `go get -u` deps #178

Closed kevincobain2000 closed 5 months ago

kevincobain2000 commented 5 months ago

UT are passing on local

╰─$ go test ./...
?       github.com/kevincobain2000/gobrew/cmd/gobrew    [no test files]
ok      github.com/kevincobain2000/gobrew   (cached)
ok      github.com/kevincobain2000/gobrew/utils (cached)
╭─pulkit.kathuria@JP-GCJKVGQK0G^M ~/git/gobrew ‹feature/get-u›
╰─$ go test ./... -count=1
?       github.com/kevincobain2000/gobrew/cmd/gobrew    [no test files]
ok      github.com/kevincobain2000/gobrew   0.416s
ok      github.com/kevincobain2000/gobrew/utils 0.208s
github-actions[bot] commented 5 months ago

CoverItUp Report

TYPE MASTER FEATURE/GET-U
coverage 60.5% 60.5%
build-time 3sec 3sec
go-binary-size 6.1kKB 6.1kKB
go-mod-dependencies 29 28-
go-sec-issues 6 6
unit-test-run-time 18sec 18sec

chartchartchartchartchartchart

Add Badges and Charts to Readme

kevincobain2000 commented 5 months ago

I just wanted to update to the latest go version. But the tests failed. To be specific, the TestInteractive was failing, but upon adding the 1.22 it was ok.

I think, the new tar.gz is required when we change the go version mod file.