Skip to content

Commit

Permalink
Update Go, k6 and other dependencies (#249)
Browse files Browse the repository at this point in the history
* Update Go, k6 and other dependencies
* Update actions
* Increase golangci-lint timeout
* Clean up after the test
* Update tests to compensate for the size of the header
Issue: segmentio/kafka-go#1050
PR: segmentio/kafka-go#1132
Release: https://github.com/segmentio/kafka-go/releases/tag/v0.4.41
  • Loading branch information
mostafa authored Sep 20, 2023
1 parent 82d039f commit 7e9e97f
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.21"

- name: Install xk6 and build xk6-kafka for different platforms 🏗️
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Go 🧑‍💻
uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.21"

- name: Run prettier for linting scripts, configs and docs 🧹
uses: creyD/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .golanci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
run:
timeout: 10m
linters:
enable-all: true
disable:
Expand All @@ -13,4 +15,4 @@ linters:
- exhaustruct
- gocognit
- gochecknoinits
- gocyclo
- gocyclo
48 changes: 24 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
module github.com/mostafa/xk6-kafka

go 1.19
go 1.21

require (
github.com/aws/aws-sdk-go-v2/config v1.18.27
github.com/dop251/goja v0.0.0-20230621100801-7749907a8a20
github.com/aws/aws-sdk-go-v2/config v1.18.39
github.com/dop251/goja v0.0.0-20230828202809-3dbe69dd2b8e
github.com/linkedin/goavro/v2 v2.12.0
github.com/pavlo-v-chernykh/keystore-go/v4 v4.4.1
github.com/pavlo-v-chernykh/keystore-go/v4 v4.5.0
github.com/riferrei/srclient v0.6.0
github.com/santhosh-tekuri/jsonschema/v5 v5.3.0
github.com/segmentio/kafka-go v0.4.40
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1
github.com/segmentio/kafka-go v0.4.42
github.com/segmentio/kafka-go/sasl/aws_msk_iam_v2 v0.1.0
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.8.2
go.k6.io/k6 v0.45.1
github.com/stretchr/testify v1.8.4
go.k6.io/k6 v0.46.0
gopkg.in/guregu/null.v3 v3.5.0
)

require (
github.com/aws/aws-sdk-go-v2 v1.18.1 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.26 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.4 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.34 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.28 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.35 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.28 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.12.12 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.14.12 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.19.2 // indirect
github.com/aws/smithy-go v1.13.5 // indirect
github.com/aws/aws-sdk-go-v2 v1.21.0 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.13.37 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.13.11 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.41 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.35 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.3.42 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.35 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.13.6 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.15.6 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5 // indirect
github.com/aws/smithy-go v1.14.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dlclark/regexp2 v1.10.0 // indirect
github.com/fatih/color v1.15.0 // indirect
github.com/go-sourcemap/sourcemap v2.1.4-0.20211119122758-180fcef48034+incompatible // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/pprof v0.0.0-20230602150820-91b7bce49751 // indirect
github.com/google/pprof v0.0.0-20230912144702-c363fe2c2ed8 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.16.6 // indirect
github.com/klauspost/compress v1.16.7 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
Expand All @@ -50,10 +50,10 @@ require (
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
github.com/xdg-go/scram v1.1.2 // indirect
github.com/xdg-go/stringprep v1.0.4 // indirect
golang.org/x/crypto v0.10.0 // indirect
golang.org/x/crypto v0.13.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
golang.org/x/sys v0.12.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.3.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 7e9e97f

Please sign in to comment.