Skip to content

Commit

Permalink
chore: update go to 1.22 (#28)
Browse files Browse the repository at this point in the history
Signed-off-by: Volodymyr Kubiv <[email protected]>
  • Loading branch information
vkubiv authored Apr 3, 2024
1 parent 1f92f97 commit cdfc116
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cdfc116

Please sign in to comment.