Skip to content

Commit 98ad59e

Browse files
committed
ci: manage go-cover-treemap with mise
1 parent a634697 commit 98ad59e

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ steps:
2121
# so clear those variables in the command shell right before go test.
2222
- unset BUILDKITE_ORGANIZATION_SLUG BUILDKITE_API_TOKEN
2323
- go test -coverprofile cover.out ./...
24-
- go run github.com/nikolaydubina/go-cover-treemap@v1.5.1 -coverprofile cover.out > cover-tree.svg
24+
- go-cover-treemap -coverprofile cover.out > cover-tree.svg
2525
- echo '<details><summary>Coverage tree map</summary><img src="artifact://cover-tree.svg" alt="Test coverage tree map" width="70%"></details>' | buildkite-agent annotate --style "info"
2626
plugins:
2727
- *mise_plugin

mise.lock

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ backend = "core:go"
1616
"platforms.linux-x64" = { checksum = "sha256:031f088e5d955bab8657ede27ad4e3bc5b7c1ba281f05f245bcc304f327c987a", url = "https://dl.google.com/go/go1.26.1.linux-amd64.tar.gz"}
1717
"platforms.macos-arm64" = { checksum = "sha256:353df43a7811ce284c8938b5f3c7df40b7bfb6f56cb165b150bc40b5e2dd541f", url = "https://dl.google.com/go/go1.26.1.darwin-arm64.tar.gz"}
1818

19+
[[tools."go:github.com/nikolaydubina/go-cover-treemap"]]
20+
version = "1.5.1"
21+
backend = "go:github.com/nikolaydubina/go-cover-treemap"
22+
1923
[[tools.golangci-lint]]
2024
version = "2.11.3"
2125
backend = "aqua:golangci/golangci-lint"

mise.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ go = "1.26.1"
99
golangci-lint = "2.11.3"
1010
lefthook = "2.1.4"
1111
"aqua:mvdan/gofumpt" = "0.9.2"
12+
"go:github.com/nikolaydubina/go-cover-treemap" = "1.5.1"
1213
"github:goreleaser/goreleaser-pro" = "2.14.3"
1314
ko = "0.18.1"
1415

0 commit comments

Comments
 (0)