diff --git a/build.go b/build.go index 554e632..537147a 100644 --- a/build.go +++ b/build.go @@ -90,7 +90,7 @@ func newLocalBuildService(ctx context.Context, opts *Options) (k6build.BuildServ BuildEnv: map[string]string{"GOWORK": "off"}, Catalog: catfile, CopyGoEnv: true, - CacheDir: filepath.Join(cachedir, "build"), + StoreDir: filepath.Join(cachedir, "build"), Verbose: slog.Default().Enabled(ctx, slog.LevelDebug), } diff --git a/go.mod b/go.mod index 602c166..df167c4 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.22.4 require ( github.com/adrg/xdg v0.5.3 github.com/grafana/clireadme v0.1.0 - github.com/grafana/k6build v0.3.5 + github.com/grafana/k6build v0.4.1 github.com/grafana/k6deps v0.1.8 github.com/grafana/k6pack v0.2.3 github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 @@ -21,7 +21,7 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/evanw/esbuild v0.24.0 // indirect github.com/google/btree v1.1.2 // indirect - github.com/grafana/k6catalog v0.2.3 // indirect + github.com/grafana/k6catalog v0.2.4 // indirect github.com/grafana/k6foundry v0.3.0 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/peterbourgon/diskv v2.0.1+incompatible // indirect diff --git a/go.sum b/go.sum index 48666d2..f0758ca 100644 --- a/go.sum +++ b/go.sum @@ -14,10 +14,10 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/grafana/clireadme v0.1.0 h1:KYEYSnYdSzmHf3bufaK6fQZ5j4dzvM/T+G6Ba+qNnAM= github.com/grafana/clireadme v0.1.0/go.mod h1:Wy4KIG2ZBGMYAYyF9l7qAy+yoJVasqk/txsRgoRI3gc= -github.com/grafana/k6build v0.3.5 h1:R5/8w/Ps4brefu56HHFujPK01xx9AfrV6KraVW3uohY= -github.com/grafana/k6build v0.3.5/go.mod h1:9e3IPYKatismMUV3Oq0V7auStNxoiVuiuk2uZrmRqhg= -github.com/grafana/k6catalog v0.2.3 h1:Gol46qra9yjPYSrxLj6CDKcdY/DUEprM4Xd4TCNPkfA= -github.com/grafana/k6catalog v0.2.3/go.mod h1:ozCf9+KBw63lNrRiZtp7CvzA7V0ATQuOQN2IoG2irw4= +github.com/grafana/k6build v0.4.1 h1:hxQjV4BU/ahGuwhoQtNtDRSXxttXiwtBd4QkrfXnpsw= +github.com/grafana/k6build v0.4.1/go.mod h1:Ro2Upb8nsMhFTRfHfxByoHCT6vDcv48DtQ65wKdF0KY= +github.com/grafana/k6catalog v0.2.4 h1:P5wdlqz2APGZhe6qinwQCZXe+z/Rm65VQ7zP/djb4Ng= +github.com/grafana/k6catalog v0.2.4/go.mod h1:nYzfIw6c3o1CEN1YlbUAkqtzIK2hoNWYF0lfYOk+RPg= github.com/grafana/k6deps v0.1.8 h1:8ZrkAQR8aWQlYPoRlEqbWVHghhGpSHtOQ42fBL++cmo= github.com/grafana/k6deps v0.1.8/go.mod h1:8szhtnOzNmxwOzJ2diu+wPc9J2Vxvq69Lcyh2WvdVA8= github.com/grafana/k6foundry v0.3.0 h1:C+6dPbsOv7Uq4hEhBFNuYqmTdE9jQ0VqhXqBDtMkVTE=