diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e297a8..5910e43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - run: echo "PATH=$GITHUB_WORKSPACE/bin:$PATH" >> $GITHUB_ENV - name: Run tests run: | - docker-compose up -d + docker compose up -d go vet ./... go run honnef.co/go/tools/cmd/staticcheck@latest ./... go test -race -v ./... diff --git a/README.md b/README.md index e172ec6..ff59864 100644 --- a/README.md +++ b/README.md @@ -88,7 +88,7 @@ Unit tests expect Consul and a set of NSQ daemons to be running. Start them using Docker Compose, and then run unit tests. ```shell -docker-compose up -d +docker compose up -d go test -v -race ./... -docker-compose down +docker compose down ```