Skip to content

Commit

Permalink
Use Go 1.19 and update deps (#234)
Browse files Browse the repository at this point in the history
* Use Go 1.19 and update deps

Signed-off-by: Vinod Damle <[email protected]>

* Update go mods

Signed-off-by: Vinod Damle <[email protected]>

* Update ethbinding version

Signed-off-by: Vinod Damle <[email protected]>

* remove local go mod updates

Signed-off-by: Vinod Damle <[email protected]>

* remove unused hunk

Signed-off-by: Vinod Damle <[email protected]>

* Update ethbinding version

Signed-off-by: Vinod Damle <[email protected]>

* update golangci go version

Signed-off-by: Vinod Damle <[email protected]>

* Update go version in workflow

Signed-off-by: Vinod Damle <[email protected]>

---------

Signed-off-by: Vinod Damle <[email protected]>
  • Loading branch information
vdamle authored May 8, 2023
1 parent 111eb89 commit 7791bec
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.19

- name: Install solc
run: |
Expand Down
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ run:
linters-settings:
golint: {}
staticcheck:
go: "1.17"
go: "1.19"
checks: ["all"]
stylecheck:
go: "1.17"
go: "1.19"
checks: ["all", "-ST1005"]
gocritic:
enabled-checks: []
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17-buster AS builder
FROM golang:1.19-buster AS builder
WORKDIR /ethconnect
RUN apt-get update -y \
&& apt-get install -y build-essential git \
Expand Down
23 changes: 12 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d
github.com/icza/dyno v0.0.0-20220812133438-f0b6f8a18845
github.com/julienschmidt/httprouter v1.3.0
github.com/kaleido-io/ethbinding v0.0.0-20220405144420-999853435d9e
github.com/kaleido-io/ethbinding v0.0.0-20230508164550-ab9908f47a86
github.com/mholt/archiver v3.1.1+incompatible
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
github.com/oklog/ulid/v2 v2.1.0
Expand All @@ -24,46 +24,47 @@ require (
)

require (
github.com/ethereum/go-ethereum v1.10.25 // indirect
github.com/ethereum/go-ethereum v1.11.6 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/tidwall/match v1.1.1 // indirect
github.com/tidwall/pretty v1.2.1 // indirect
golang.org/x/crypto v0.0.0-20221010152910-d6f0a8c073c2 // indirect
golang.org/x/net v0.0.0-20221004154528-8021a29435af // indirect
golang.org/x/sys v0.0.0-20221006211917-84dc82d7e875 // indirect
golang.org/x/term v0.0.0-20220919170432-7a66f970e087 // indirect
golang.org/x/crypto v0.6.0 // indirect
golang.org/x/net v0.8.0 // indirect
golang.org/x/sys v0.6.0 // indirect
golang.org/x/term v0.6.0 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
)

require (
github.com/btcsuite/btcd/btcec/v2 v2.2.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set v1.8.0 // indirect
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect
github.com/dsnet/compress v0.0.1 // indirect
github.com/eapache/go-resiliency v1.3.0 // indirect
github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21 // indirect
github.com/eapache/queue v1.1.0 // indirect
github.com/frankban/quicktest v1.14.3 // indirect
github.com/fsnotify/fsnotify v1.5.4 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-openapi/jsonpointer v0.19.5 // indirect
github.com/go-openapi/swag v0.22.3 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
github.com/holiman/uint256 v1.2.2-0.20230321075855-87b91420868c // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/jcmturner/aescts/v2 v2.0.0 // indirect
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect
github.com/jcmturner/gofork v1.7.6 // indirect
github.com/jcmturner/gokrb5/v8 v8.4.3 // indirect
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/klauspost/compress v1.15.11 // indirect
github.com/klauspost/compress v1.15.15 // 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.16 // indirect
Expand All @@ -85,4 +86,4 @@ require (

replace github.com/kaleido-io/ethbinding => ../ethbinding

go 1.17
go 1.19
Loading

0 comments on commit 7791bec

Please sign in to comment.