From 29416c61785be88964fec4d5d629772151322795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0tefan=20Baebler?= Date: Mon, 22 Jul 2024 19:07:43 +0200 Subject: [PATCH] operator-sdk (unpin go@1.22) Related: * pinning to go@1.21: https://github.com/Homebrew/homebrew-core/pull/162766 * upstream: https://github.com/operator-framework/operator-sdk/issues/6644 --- Formula/o/operator-sdk.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Formula/o/operator-sdk.rb b/Formula/o/operator-sdk.rb index 174aeb6690e9b..a7fd4f2154ad6 100644 --- a/Formula/o/operator-sdk.rb +++ b/Formula/o/operator-sdk.rb @@ -22,8 +22,7 @@ class OperatorSdk < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "8102410241e3ef5ff368f5da37cf2f1a200ff891cf2ba060bf54b49c0571e68c" end - # use "go" again when https://github.com/operator-framework/operator-sdk/issues/6644 is resolved and released - depends_on "go@1.21" + depends_on "go" def install ENV["GOBIN"] = bin @@ -33,8 +32,6 @@ def install end test do - ENV.prepend_path "PATH", Formula["go@1.21"].bin - if build.stable? version_output = shell_output("#{bin}/operator-sdk version") assert_match "version: \"v#{version}\"", version_output