From a763dcd322e44da8cf54973c17162d9c97ab3f8c Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Wed, 15 Jan 2025 11:49:15 +0200 Subject: [PATCH 1/3] k6: pin go version to 1.23 Fixing https://github.com/grafana/k6/issues/2699 --- Formula/k/k6.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/k/k6.rb b/Formula/k/k6.rb index 5568810518890..9f9682a2f84a8 100644 --- a/Formula/k/k6.rb +++ b/Formula/k/k6.rb @@ -14,7 +14,7 @@ class K6 < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "6c59c33536818d69e337bd36ce5b3e58054a019260d35027efae3b50ca7b56a5" end - depends_on "go" => :build + depends_on "go@1.23" => :build def install system "go", "build", *std_go_args(ldflags: "-s -w") From a5dcb2f8b1c40c07793e963f43e93397e2be06a6 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Wed, 15 Jan 2025 15:29:18 +0200 Subject: [PATCH 2/3] test --- Formula/k/k6.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/k/k6.rb b/Formula/k/k6.rb index 9f9682a2f84a8..ee0937ab38c84 100644 --- a/Formula/k/k6.rb +++ b/Formula/k/k6.rb @@ -14,7 +14,7 @@ class K6 < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "6c59c33536818d69e337bd36ce5b3e58054a019260d35027efae3b50ca7b56a5" end - depends_on "go@1.23" => :build + depends_on "go@1.22" => :build def install system "go", "build", *std_go_args(ldflags: "-s -w") From 99b4cfa605c1764e3c5c9b49b2d086a773735699 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov <312246+mstoykov@users.noreply.github.com> Date: Wed, 15 Jan 2025 20:47:19 +0200 Subject: [PATCH 3/3] Update Formula/k/k6.rb --- Formula/k/k6.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/k/k6.rb b/Formula/k/k6.rb index ee0937ab38c84..f4cc28ead754f 100644 --- a/Formula/k/k6.rb +++ b/Formula/k/k6.rb @@ -14,7 +14,7 @@ class K6 < Formula sha256 cellar: :any_skip_relocation, x86_64_linux: "6c59c33536818d69e337bd36ce5b3e58054a019260d35027efae3b50ca7b56a5" end - depends_on "go@1.22" => :build + depends_on "go@1.23" => :build # See https://github.com/grafana/k6/issues/2699 and https://github.com/grafana/k6/issues/2474 def install system "go", "build", *std_go_args(ldflags: "-s -w")