From be4462bc23ea7074b7e5354a1194b8ea6250ff36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 27 Apr 2025 23:51:03 +0200 Subject: [PATCH] .github: tweak template to ask for `garble version` I forgot to update the original Go template away from `go version`. Note that `go env` already tells us what we need via e.g. GOVERSION, so we can avoid asking for `go version` separately. --- .github/ISSUE_TEMPLATE/00-bug.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/00-bug.yml b/.github/ISSUE_TEMPLATE/00-bug.yml index 0c43bf8..1387437 100644 --- a/.github/ISSUE_TEMPLATE/00-bug.yml +++ b/.github/ISSUE_TEMPLATE/00-bug.yml @@ -2,13 +2,19 @@ name: Bug Report description: File a bug report. body: - - type: input - id: go-version + - type: textarea + id: garble-version attributes: - label: Go version - description: | - What version of Go are you using (`go version`)? - placeholder: ex. go version go1.20.7 darwin/arm64 + label: "Output of `garble version`:" + placeholder: | + mvdan.cc/garble v0.14.2 + + Build settings: + -buildmode exe + -compiler gc + CGO_ENABLED 1 + GOARCH amd64 + GOOS linux validations: required: true