mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
scripts: ignore go 1.16 compat for dependency updator script
Otherwise the following error occurs while updating dependency: ``` github.com/nspcc-dev/neo-go/examples/nft-nd-nns tested by github.com/nspcc-dev/neo-go/examples/nft-nd-nns.test imports github.com/nspcc-dev/neo-go/pkg/compiler imports gopkg.in/yaml.v3 tested by gopkg.in/yaml.v3.test imports gopkg.in/check.v1 imports github.com/kr/pretty loaded from github.com/kr/pretty@v0.1.0, but go 1.16 would select v0.3.0 github.com/nspcc-dev/neo-go/examples/nft-nd-nns tested by github.com/nspcc-dev/neo-go/examples/nft-nd-nns.test imports github.com/nspcc-dev/neo-go/pkg/compiler imports gopkg.in/yaml.v3 tested by gopkg.in/yaml.v3.test imports gopkg.in/check.v1 imports github.com/kr/pretty imports github.com/kr/text loaded from github.com/kr/text@v0.1.0, but go 1.16 would select v0.2.0 To upgrade to the versions selected by go 1.16: go mod tidy -go=1.16 && go mod tidy -go=1.17 If reproducibility with go 1.16 is not needed: go mod tidy -compat=1.17 For other options, see: https://golang.org/doc/modules/pruning ```
This commit is contained in:
parent
4ca89d23ec
commit
c7ece79cb4
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ go mod tidy
|
|||
for dir in "$root"/examples/*/; do
|
||||
cd "$dir" || exit 1
|
||||
go get github.com/nspcc-dev/neo-go/pkg/interop@"$REV"
|
||||
go mod tidy
|
||||
go mod tidy --compat=1.17
|
||||
done
|
||||
|
||||
cd "$root"/internal/contracts/oracle_contract || exit 1
|
||||
|
|
Loading…
Reference in a new issue