diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6e96c397..9d24b49f5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,7 +18,7 @@ jobs: - name: Install Go uses: actions/setup-go@v1 with: - go-version: 1.17.11 + go-version: 1.18.6 - name: Setup GO run: | echo GOPATH=$(go env GOPATH) >> $GITHUB_ENV diff --git a/README.md b/README.md index 1cb254a65..3d5067151 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ## Anytype Middleware Library ### Build from Source -1. Install Golang 1.17.* [from here](http://golang.org/dl/) or using preferred package manager +1. Install Golang 1.18.* [from here](http://golang.org/dl/) or using preferred package manager 2. Follow instructions below for the target systems #### Build and install for the [desktop client](https://github.com/anytypeio/js-anytype) diff --git a/go.mod b/go.mod index ba92e1363..07ecbbf15 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/anytypeio/go-anytype-middleware -go 1.17 +go 1.18 require ( github.com/JohannesKaufmann/html-to-markdown v0.0.0-00010101000000-000000000000 @@ -13,7 +13,6 @@ require ( github.com/cheggaaa/mb v1.0.3 github.com/dave/jennifer v1.4.1 github.com/davecgh/go-spew v1.1.1 - github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f github.com/dgraph-io/badger v1.6.2 github.com/dgtony/collections v0.1.6 github.com/dhowden/tag v0.0.0-20201120070457-d52dcb253c63 @@ -76,7 +75,6 @@ require ( github.com/otiai10/opengraph/v2 v2.1.0 github.com/pkg/errors v0.9.1 github.com/prometheus/client_golang v1.13.0 - github.com/rs/cors v1.7.0 github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd github.com/spf13/cobra v0.0.7 github.com/stretchr/testify v1.8.0 @@ -88,13 +86,11 @@ require ( github.com/uber/jaeger-client-go v2.28.0+incompatible github.com/yuin/goldmark v1.4.13 go.uber.org/zap v1.23.0 - golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5 golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b golang.org/x/text v0.3.7 google.golang.org/grpc v1.47.0 gopkg.in/Graylog2/go-gelf.v2 v2.0.0-20180125164251-1832d8546a9f gopkg.in/yaml.v3 v3.0.1 - nhooyr.io/websocket v1.8.7 ) @@ -131,6 +127,7 @@ require ( github.com/cskr/pubsub v1.0.2 // indirect github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 // indirect + github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect github.com/dgraph-io/badger/v3 v3.2103.3 // indirect github.com/dgraph-io/ristretto v0.1.1 // indirect github.com/dlclark/regexp2 v1.2.0 // indirect @@ -247,6 +244,7 @@ require ( github.com/prometheus/common v0.37.0 // indirect github.com/prometheus/procfs v0.8.0 // indirect github.com/raulk/go-watchdog v1.3.0 // indirect + github.com/rs/cors v1.7.0 // indirect github.com/spacemonkeygo/spacelog v0.0.0-20180420211403-2296661a0572 // indirect github.com/spaolacci/murmur3 v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect @@ -277,6 +275,7 @@ require ( golang.org/x/exp v0.0.0-20220916125017-b168a2c6b86b // indirect golang.org/x/image v0.0.0-20200119044424-58c23975cae1 // indirect golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect + golang.org/x/net v0.0.0-20220920183852-bf014ff85ad5 // indirect golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect golang.org/x/sys v0.0.0-20221010170243-090e33056c14 // indirect golang.org/x/tools v0.1.12 // indirect @@ -287,6 +286,7 @@ require ( gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect lukechampine.com/blake3 v1.1.7 // indirect + nhooyr.io/websocket v1.8.7 // indirect ) replace github.com/elastic/gosigar => github.com/anytypeio/gosigar v0.0.0-20220811145612-92bd3366198a