From 83ded96297956db6d3e59baec2f8586e6562cf9f Mon Sep 17 00:00:00 2001 From: Nicolas Karolak Date: Sat, 17 Aug 2024 12:59:47 +0200 Subject: [PATCH] govulncheck: build with go1.23 Since go1.23 has been released in Homebrew and govulncheck was build with go1.22 it cannot work anymore. ``` /opt/homebrew/Cellar/go/1.23.0/libexec/src/slices/iter.go:50:17: cannot range over seq (variable of type iter.Seq[E]) -: This application uses version go1.22 of the source-processing packages but runs version go1.23 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go. /opt/homebrew/Cellar/go/1.23.0/libexec/src/maps/iter.go:51:20: cannot range over seq (variable of type iter.Seq2[K, V]) -: This application uses version go1.22 of the source-processing packages but runs version go1.23 of 'go list'. It may fail to process source files that rely on newer language features. If so, rebuild the application using a newer version of Go. ``` Ping https://github.com/Homebrew/homebrew-core/pull/175310 --- Formula/g/govulncheck.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/g/govulncheck.rb b/Formula/g/govulncheck.rb index bc6a80b5ebc1b..da92e87a4f7c3 100644 --- a/Formula/g/govulncheck.rb +++ b/Formula/g/govulncheck.rb @@ -4,6 +4,7 @@ class Govulncheck < Formula url "https://github.com/golang/vuln/archive/refs/tags/v1.1.3.tar.gz" sha256 "9609756c03d8ce810a1a65434ad15d35213cf97414341644777308ae9753370e" license "BSD-3-Clause" + revision 1 bottle do sha256 cellar: :any_skip_relocation, arm64_sonoma: "ad655601412ddfee98d2289933e2fe38c5cccb8ba554d7ce7fcc003e95d6f884"