diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c3c9dcc..c86c6c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,10 +27,10 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v3 + - name: Setup Go 1.22 + uses: actions/setup-go@v4 with: - go-version: ${{ env.GO_VERSION }} + go-version: '1.22' - name: Run checks run: | echo $PATH @@ -45,10 +45,10 @@ jobs: timeout-minutes: 10 steps: - - name: Setup Go 1.21 - uses: actions/setup-go@v2 + - name: Setup Go 1.22 + uses: actions/setup-go@v4 with: - go-version: '1.21' + go-version: '1.22' id: go - uses: actions/checkout@v3 diff --git a/go.mod b/go.mod index 87511fa..f371ffd 100644 --- a/go.mod +++ b/go.mod @@ -4,9 +4,10 @@ module github.com/trustbloc/did-go -go 1.21 +go 1.22 require ( + github.com/btcsuite/btcd/btcec/v2 v2.1.3 github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce github.com/cenkalti/backoff/v4 v4.1.3 github.com/go-jose/go-jose/v3 v3.0.1 @@ -15,14 +16,13 @@ require ( github.com/multiformats/go-multibase v0.1.1 github.com/piprate/json-gold v0.5.1-0.20230111113000-6ddbe6e6f19f github.com/stretchr/testify v1.8.2 - github.com/trustbloc/kms-go v1.1.1 + github.com/trustbloc/kms-go v1.1.2-0.20240403074855-38b6c31bf198 github.com/xeipuuv/gojsonschema v1.2.0 ) require ( github.com/IBM/mathlib v0.0.3-0.20231011094432-44ee0eb539da // indirect github.com/bits-and-blooms/bitset v1.7.0 // indirect - github.com/btcsuite/btcd/btcec/v2 v2.1.3 // indirect github.com/consensys/bavard v0.1.13 // indirect github.com/consensys/gnark-crypto v0.12.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect diff --git a/go.sum b/go.sum index b75e18c..13653e8 100644 --- a/go.sum +++ b/go.sum @@ -93,6 +93,8 @@ github.com/trustbloc/bbs-signature-go v1.0.2 h1:gepEsbLiZHv/vva9FKG5gF38mGtOIyGe github.com/trustbloc/bbs-signature-go v1.0.2/go.mod h1:xYotcXHAbcE0TO+SteW0J6XI3geQaXq4wdnXR2k+XCU= github.com/trustbloc/kms-go v1.1.1 h1:ygw3G1GRz9im0oABpt59ygX/xhhplram9y7V8sVY514= github.com/trustbloc/kms-go v1.1.1/go.mod h1:PfwuRTXPwoet6IiS36V03IEE6+S3H1yzDMUyIzhEpKA= +github.com/trustbloc/kms-go v1.1.2-0.20240403074855-38b6c31bf198 h1:TxbO5DN/1UrMobQvu40OXKp47L7pbuw2vHm88lqFk+o= +github.com/trustbloc/kms-go v1.1.2-0.20240403074855-38b6c31bf198/go.mod h1:OKOtsLbE6W5s4mpjWkvk8XEqcmt9vTgVmDNkHELpWO0= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo= github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= diff --git a/scripts/check_lint.sh b/scripts/check_lint.sh index fddcb73..8073c6b 100755 --- a/scripts/check_lint.sh +++ b/scripts/check_lint.sh @@ -10,7 +10,7 @@ set -e echo "Running $0" DOCKER_CMD=${DOCKER_CMD:-docker} -GOLANGCI_LINT_IMAGE="golangci/golangci-lint:v1.54.2" +GOLANGCI_LINT_IMAGE="golangci/golangci-lint:v1.53.3" SHARED_OPTS="--rm --security-opt seccomp=unconfined -e GOPROXY=${GOPROXY} -v $(pwd):/opt/workspace" if [ ! $(command -v ${DOCKER_CMD}) ]; then