anz-bank / sysl-go

Communication library used by SYSL-generated code written in Go.
Apache License 2.0
10 stars 14 forks source link

Fix make auto-test dependency #254

Open amitkrout opened 1 year ago

amitkrout commented 1 year ago
$ make auto-test
[...]
make -C codegen/arrai/auto/tests/grpc_complex_app_name
make[1]: Entering directory '/home/amit/go/src/github.com/sysl-go/codegen/arrai/auto/tests/grpc_complex_app_name'
go test  ./...
go: updates to go.mod needed; to update it:
        go mod tidy
make[1]: *** [Makefile:16: test] Error 1
make[1]: Leaving directory '/home/amit/go/src/github.com/sysl-go/codegen/arrai/auto/tests/grpc_complex_app_name'
make: *** [Makefile:46: auto-test-codegen/arrai/auto/tests/grpc_complex_app_name/.dummy] Error 2

The error seems to be related to the Go modules and the need to update the go.mod file. The error message suggests running go mod tidy to update the go.mod file.