11class Xk6 < Formula
22 desc "Build k6 with extensions"
33 homepage "https://k6.io"
4- url "https://github.com/grafana/xk6/archive/refs/tags/v1.2.1 .tar.gz"
5- sha256 "fcb6f27d8c8458854f9d5c76771cd8633b6b0867d6092428c6ae7b5c6d880ad1 "
4+ url "https://github.com/grafana/xk6/archive/refs/tags/v1.2.2 .tar.gz"
5+ sha256 "32b6b7c5cdea86cf59b909d0a2be47a00b37cbef3e242842f4eb6aacf7b28fac "
66 license "Apache-2.0"
77 head "https://github.com/grafana/xk6.git" , branch : "master"
88
@@ -12,12 +12,12 @@ class Xk6 < Formula
1212 end
1313
1414 bottle do
15- sha256 cellar : :any_skip_relocation , arm64_tahoe : "77ad0a9679d4d2712b19225c98d95d4fb71811cca042a96af96c07f39be0cc95 "
16- sha256 cellar : :any_skip_relocation , arm64_sequoia : "77ad0a9679d4d2712b19225c98d95d4fb71811cca042a96af96c07f39be0cc95 "
17- sha256 cellar : :any_skip_relocation , arm64_sonoma : "77ad0a9679d4d2712b19225c98d95d4fb71811cca042a96af96c07f39be0cc95 "
18- sha256 cellar : :any_skip_relocation , sonoma : "7cdc3633add03f37d560c3897de2eaa425fa72a7e71846c4314285afa1ca4b8a "
19- sha256 cellar : :any_skip_relocation , arm64_linux : "b0e053ec126ad23ef73e260849b4011b74cf16399fcad99b2d271fcdd2b45c13 "
20- sha256 cellar : :any_skip_relocation , x86_64_linux : "4f881e000c8c544ea55c523a67f1f381fa452a92023b85abc38b71d7648b2980 "
15+ sha256 cellar : :any_skip_relocation , arm64_tahoe : "00c3283b257440c4d7ab1bfa8d872d199f4dbd7d330be2675ae7e117218b55a6 "
16+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "00c3283b257440c4d7ab1bfa8d872d199f4dbd7d330be2675ae7e117218b55a6 "
17+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "00c3283b257440c4d7ab1bfa8d872d199f4dbd7d330be2675ae7e117218b55a6 "
18+ sha256 cellar : :any_skip_relocation , sonoma : "fc94746c2b56a5a9f7dfa43b3345e0d35f99557bcab622890d5d9773d49139cc "
19+ sha256 cellar : :any_skip_relocation , arm64_linux : "1b2275b0811778e3fb444be87582f382aa5fb872e4a31a75c2a6e7ea34d632bf "
20+ sha256 cellar : :any_skip_relocation , x86_64_linux : "9b288f4c6442ec7613f2eae53d9d8a66f3d06db7b3707df10ad42e944b055cb8 "
2121 end
2222
2323 depends_on "go"
@@ -32,7 +32,12 @@ def install
3232 assert_match "xk6 version #{ version } " , shell_output ( "#{ bin } /xk6 version" )
3333 assert_match "xk6 has now produced a new k6 binary" , shell_output ( "#{ bin } /xk6 build" )
3434 system bin /"xk6" , "new" , "github.com/grafana/xk6-testing"
35- chdir "xk6-testing" do
35+ cd "xk6-testing" do
36+ system "git" , "init"
37+ system "git" , "add" , "."
38+ system "git" , "commit" , "-m" , "init commit"
39+ system "git" , "tag" , "v0.0.1"
40+
3641 lint_output = shell_output ( "#{ bin } /xk6 lint" )
3742 assert_match "✔ security" , lint_output
3843 assert_match "✔ vulnerability" , lint_output
0 commit comments