diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c0bf402..caeb74d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: "1.20" + go-version: "1.21" - uses: actions/checkout@v3 - run: go vet ./... - run: go test -v ${{ matrix.env.coverage && '-coverprofile=profile.cov' }} ./... diff --git a/build/docker/Dockerfile.public_node b/build/docker/Dockerfile.public_node index 9793597..a2ba49f 100644 --- a/build/docker/Dockerfile.public_node +++ b/build/docker/Dockerfile.public_node @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.21 # Base image with go compiler and tested source code FROM --platform=$BUILDPLATFORM docker.io/library/golang:${GO_VERSION} as build diff --git a/build/docker/Dockerfile.static_datastore_builder b/build/docker/Dockerfile.static_datastore_builder index c1e0a99..a81d9c5 100644 --- a/build/docker/Dockerfile.static_datastore_builder +++ b/build/docker/Dockerfile.static_datastore_builder @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.21 # Base image with go compiler and tested source code FROM --platform=$BUILDPLATFORM docker.io/library/golang:${GO_VERSION} as build diff --git a/build/docker/Dockerfile.web_proxy b/build/docker/Dockerfile.web_proxy index b990b9a..b7f403c 100644 --- a/build/docker/Dockerfile.web_proxy +++ b/build/docker/Dockerfile.web_proxy @@ -1,5 +1,5 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.20 +ARG GO_VERSION=1.21 # Base image with go compiler and tested source code FROM --platform=$BUILDPLATFORM docker.io/library/golang:${GO_VERSION} as build diff --git a/go.mod b/go.mod index 0096492..76eb967 100644 --- a/go.mod +++ b/go.mod @@ -1,11 +1,11 @@ module github.com/cinode/go -go 1.18 +go 1.21 require ( github.com/jbenet/go-base58 v0.0.0-20150317085156-6237cf65f3a6 github.com/spf13/cobra v1.7.0 - golang.org/x/crypto v0.11.0 + golang.org/x/crypto v0.13.0 google.golang.org/protobuf v1.31.0 ) @@ -19,6 +19,6 @@ require ( github.com/inconshreveable/mousetrap v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/testify v1.8.0 - golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b - golang.org/x/sys v0.10.0 // indirect + golang.org/x/exp v0.0.0-20230905200255-921286631fa9 + golang.org/x/sys v0.12.0 // indirect ) diff --git a/go.sum b/go.sum index 38aaceb..e38a367 100644 --- a/go.sum +++ b/go.sum @@ -23,10 +23,16 @@ github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PK github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= +golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck= +golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc= golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b h1:r+vk0EmXNmekl0S0BascoeeoHk/L7wmaW2QF90K+kYI= golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9 h1:GoHiUyI/Tp2nVkLI2mCxVkOjsbSXD66ic0XW0js0R9g= +golang.org/x/exp v0.0.0-20230905200255-921286631fa9/go.mod h1:S2oDrQGGwySpoQPVqRShND87VCbxmc6bL1Yd2oYrm6k= golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o= +golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=