From c5194e98350c1b6c8d9c73a2ef3b1f9996b486c7 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Thu, 16 Feb 2023 01:40:33 +0100 Subject: [PATCH] feature: go 1.20 Signed-off-by: Valery Piashchynski --- .github/workflows/linters.yml | 4 ++-- .github/workflows/linux.yml | 2 +- go.mod | 8 ++++---- go.sum | 11 ++++++----- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 00c8237e..09e610d6 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -13,11 +13,11 @@ jobs: - name: Set up Go uses: actions/setup-go@v3 # action page: with: - go-version: 1.19 + go-version: '1.20' - name: Run linter uses: golangci/golangci-lint-action@v3.4.0 # Action page: with: - version: v1.50 # without patch version + version: v1.51 # without patch version only-new-issues: false # show only new issues if it's a pull request args: --timeout=10m --build-tags=safe diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4a9aad60..8c8e1714 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: true matrix: - go: [ "1.19" ] + go: [ "1.20" ] os: [ ubuntu-latest ] steps: - name: Set up Go ${{ matrix.go }} diff --git a/go.mod b/go.mod index 38e63a5a..aa1e89c4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/temporalio/roadrunner-temporal/v4 -go 1.19 +go 1.20 require ( github.com/cactus/go-statsd-client/statsd v0.0.0-20200423205355-cb0885a1018c @@ -9,7 +9,7 @@ require ( github.com/google/uuid v1.3.0 github.com/roadrunner-server/endure/v2 v2.2.0 github.com/roadrunner-server/errors v1.2.0 - github.com/roadrunner-server/sdk/v4 v4.1.0 + github.com/roadrunner-server/sdk/v4 v4.2.0 github.com/stretchr/testify v1.8.1 github.com/uber-go/tally/v4 v4.1.6 go.temporal.io/api v1.17.0 @@ -40,7 +40,7 @@ require ( github.com/prometheus/common v0.39.0 // indirect github.com/prometheus/procfs v0.9.0 // indirect github.com/roadrunner-server/goridge/v3 v3.6.2 // indirect - github.com/roadrunner-server/tcplisten v1.2.1 // indirect + github.com/roadrunner-server/tcplisten v1.3.0 // indirect github.com/robfig/cron v1.2.0 // indirect github.com/rogpeppe/go-internal v1.9.0 // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect @@ -51,7 +51,7 @@ require ( github.com/yusufpapurcu/wmi v1.2.2 // indirect go.uber.org/atomic v1.10.0 // indirect go.uber.org/multierr v1.9.0 // indirect - golang.org/x/net v0.6.0 // indirect + golang.org/x/net v0.7.0 // indirect golang.org/x/sync v0.1.0 // indirect golang.org/x/sys v0.5.0 // indirect golang.org/x/text v0.7.0 // indirect diff --git a/go.sum b/go.sum index 19ed1272..e4ec1664 100644 --- a/go.sum +++ b/go.sum @@ -642,10 +642,10 @@ github.com/roadrunner-server/errors v1.2.0 h1:qBmNXt8Iex9QnYTjCkbJKsBZu2EtYkQCM0 github.com/roadrunner-server/errors v1.2.0/go.mod h1:z0ECxZp/dDa5RahtMcy4mBIavVxiZ9vwE5kByl7kFtY= github.com/roadrunner-server/goridge/v3 v3.6.2 h1:LH5HXfCygDp05KnOaXpa4fqVPWTsH7V3lfvPtMwFU3k= github.com/roadrunner-server/goridge/v3 v3.6.2/go.mod h1:3B95k/wM5GGAD0h2hZlJagS9PlTDGs5jh8MpZYC12vA= -github.com/roadrunner-server/sdk/v4 v4.1.0 h1:akICxF9GQOHggvHW01Try5QiRmr2IrCN0RYWHyGdjDQ= -github.com/roadrunner-server/sdk/v4 v4.1.0/go.mod h1:aIzXmg8DZBJ4Tbtvihp/s6VH4e2oSdivOqm/8V+HuUc= -github.com/roadrunner-server/tcplisten v1.2.1 h1:9hVVMlCRvMPewnJCnfSe/kKAqn2ZOF3wHy+ji0M/NKU= -github.com/roadrunner-server/tcplisten v1.2.1/go.mod h1:TRJLGwIruiJ7QhmGVRgJFY5Ch72mPoLhLAxuxLnavpU= +github.com/roadrunner-server/sdk/v4 v4.2.0 h1:hqNlqJV2MXZ8DF1wJnouUdV/55Hae6VL37fVXT1aIr8= +github.com/roadrunner-server/sdk/v4 v4.2.0/go.mod h1:aIzXmg8DZBJ4Tbtvihp/s6VH4e2oSdivOqm/8V+HuUc= +github.com/roadrunner-server/tcplisten v1.3.0 h1:VDd6IbP8oIjm5vKvMVozeZgeHgOcoP0XYLOyOqcZHCY= +github.com/roadrunner-server/tcplisten v1.3.0/go.mod h1:VR6Ob5am0oEuLMOeLiVvQxG9ShykAEgrlvZddX8EfoU= github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ= github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= @@ -831,8 +831,9 @@ golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfS golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE= golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws= -golang.org/x/net v0.6.0 h1:L4ZwwTvKW9gr0ZMS1yrHD9GZhIuVjOBBnaKH+SPQK0Q= golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.7.0 h1:rJrUqqhjsgNp7KqAIc25s9pZnjU7TUcSY7HcVZjdn1g= +golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=