This repository was archived by the owner on Jan 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Expand file tree Collapse file tree 4 files changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ jobs:
17
17
with :
18
18
go-version : 1.17
19
19
20
- - name : Download xk6
21
- run : wget https://github.com/k6io/xk6/releases/download/v0.4.1/xk6_0.4.1_linux_amd64.tar.gz
22
-
23
- - name : Untargz xk6
24
- run : tar -zxf xk6_0.4.1_linux_amd64.tar.gz
20
+ - name : Install xk6
21
+ run : go install go.k6.io/xk6/cmd/xk6@latest
25
22
26
23
- name : Build the binary
27
- run : ./xk6 build --with github.com/k6io /xk6-distributed-tracing@latest
24
+ run : ./xk6 build --with github.com/grafana /xk6-distributed-tracing@latest
28
25
29
26
- name : Upload binaries to release
30
27
uses : svenstaro/upload-release-action@v2
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ $ go install go.k6.io/xk6/cmd/xk6@latest
45
45
2 . Build the binary:
46
46
47
47
``` bash
48
- $ xk6 build --with github.com/k6io /xk6-distributed-tracing@latest
48
+ $ xk6 build --with github.com/grafana /xk6-distributed-tracing@latest
49
49
```
50
50
51
51
## Example
Original file line number Diff line number Diff line change 1
- module github.com/k6io /xk6-distributed-tracing
1
+ module github.com/grafana /xk6-distributed-tracing
2
2
3
3
go 1.17
4
4
Original file line number Diff line number Diff line change 4
4
"context"
5
5
6
6
"github.com/dop251/goja"
7
- "github.com/k6io /xk6-distributed-tracing/client"
7
+ "github.com/grafana /xk6-distributed-tracing/client"
8
8
"github.com/sirupsen/logrus"
9
9
"go.k6.io/k6/js/modules"
10
10
k6HTTP "go.k6.io/k6/js/modules/k6/http"
You can’t perform that action at this time.
0 commit comments