From 3346fe9d563efc7a14efe9bf9ea4a7a133ae5b7d Mon Sep 17 00:00:00 2001 From: dominicriordan Date: Mon, 29 Jan 2024 12:39:23 +0000 Subject: [PATCH] k6 upgrade requires go1.20 --- .github/workflows/go.yml | 2 +- README.md | 2 ++ go.mod | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 862c58b..4a580af 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -29,7 +29,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v4 with: - go-version: '1.19' + go-version: '1.20' - name: Go vet run: go vet ./... diff --git a/README.md b/README.md index e176a91..e1506a4 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,8 @@ export default function () { ## Install +Requires Go >= 1.20 + 1. Install xk6: ```shell go install go.k6.io/xk6/cmd/xk6@latest diff --git a/go.mod b/go.mod index 44bbb8a..480d14d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/domsolutions/xk6-fasthttp -go 1.19 +go 1.20 require ( github.com/dop251/goja v0.0.0-20231027120936-b396bb4c349d