Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up dependencies #137

Merged
merged 3 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
all: build

GO ?= go1.22.2
GO_VERSION ?= $(shell grep '^go ' go.mod | awk '{print $$2}')
GO ?= go$(GO_VERSION)

go:
-go install golang.org/dl/$(GO)@latest
$(GO) download
rm -f $$(dirname $$(which $(GO)))/go
ln -s $$(which $(GO)) $$(dirname $$(which $(GO)))/go
go version
-go install golang.org/dl/go$(GO_VERSION)@latest
go$(GO_VERSION) download

helm:
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
Expand All @@ -21,7 +19,7 @@ build: goreleaser

.PHONY: test
test:
$(GO) test -race -coverprofile=coverage.txt -covermode=atomic `go list ./... | grep -v /hack`
$(GO) test -race -coverprofile=coverage.txt -covermode=atomic `$(GO) list ./... | grep -v /hack`
$(GO) tool cover -func=coverage.txt -o=coverage.out
tail -1 coverage.out | awk '{gsub("%",""); print $$3}'

Expand Down
26 changes: 13 additions & 13 deletions coverage.out
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
github.com/jlandowner/helm-chartsnap/main.go:52: Debug 100.0%
github.com/jlandowner/helm-chartsnap/main.go:60: Namespace 75.0%
github.com/jlandowner/helm-chartsnap/main.go:68: HelmBin 75.0%
github.com/jlandowner/helm-chartsnap/main.go:76: OK 66.7%
github.com/jlandowner/helm-chartsnap/main.go:84: snapshotVersion 66.7%
github.com/jlandowner/helm-chartsnap/main.go:93: init 100.0%
github.com/jlandowner/helm-chartsnap/main.go:97: initRootCmd 85.2%
github.com/jlandowner/helm-chartsnap/main.go:197: main 0.0%
github.com/jlandowner/helm-chartsnap/main.go:204: slogHandler 100.0%
github.com/jlandowner/helm-chartsnap/main.go:215: loadSnapshotConfig 57.1%
github.com/jlandowner/helm-chartsnap/main.go:228: run 89.2%
github.com/jlandowner/helm-chartsnap/main.go:355: bannerPrintln 100.0%
github.com/jlandowner/helm-chartsnap/main.go:362: printOptions 100.0%
github.com/jlandowner/helm-chartsnap/main.go:53: Debug 100.0%
github.com/jlandowner/helm-chartsnap/main.go:61: Namespace 75.0%
github.com/jlandowner/helm-chartsnap/main.go:69: HelmBin 75.0%
github.com/jlandowner/helm-chartsnap/main.go:77: OK 66.7%
github.com/jlandowner/helm-chartsnap/main.go:85: snapshotVersion 66.7%
github.com/jlandowner/helm-chartsnap/main.go:94: init 100.0%
github.com/jlandowner/helm-chartsnap/main.go:98: initRootCmd 85.2%
github.com/jlandowner/helm-chartsnap/main.go:198: main 0.0%
github.com/jlandowner/helm-chartsnap/main.go:205: slogHandler 100.0%
github.com/jlandowner/helm-chartsnap/main.go:218: loadSnapshotConfig 57.1%
github.com/jlandowner/helm-chartsnap/main.go:231: run 89.2%
github.com/jlandowner/helm-chartsnap/main.go:358: bannerPrintln 100.0%
github.com/jlandowner/helm-chartsnap/main.go:365: printOptions 100.0%
github.com/jlandowner/helm-chartsnap/pkg/api/v1alpha1/header.go:13: ToString 100.0%
github.com/jlandowner/helm-chartsnap/pkg/api/v1alpha1/header.go:17: ParseHeader 100.0%
github.com/jlandowner/helm-chartsnap/pkg/api/v1alpha1/testspec.go:11: FromFile 100.0%
Expand Down
Loading
Loading