- Go 1.22
- Make
- Docker
- Docker-compose
- Configure Docker to use GitHub Packages: Authenticate using a GitHub token
# run checks and unit tests
make all
# run linter checks
make checks
# run unit tests
make unit-test
# run checks and unit tests
make all
# run BDD tests
make bdd-test
To run BDD tests (make bdd-test
) you need to modify your hosts file (/etc/hosts
on *NIX) to add the following lines, to allow a few of the bdd test containers to be connected to externally.
127.0.0.1 vault.kms.example.com
127.0.0.1 metrics.example.com
127.0.0.1 vc-rest-echo.trustbloc.local
127.0.0.1 file-server.trustbloc.local
127.0.0.1 did-resolver.trustbloc.local
127.0.0.1 oidc-provider.example.com
127.0.0.1 api-gateway.trustbloc.local
127.0.0.1 cognito-mock.trustbloc.local
127.0.0.1 mock-login-consent.example.com
127.0.0.1 cognito-auth.local
127.0.0.1 mock-trustregistry.trustbloc.local
127.0.0.1 mock-attestation.trustbloc.local