From 47517529f5dbc0340a0ec915e3bc24384861064b Mon Sep 17 00:00:00 2001 From: Kevin Burke Date: Thu, 11 Jul 2024 13:51:55 -0700 Subject: [PATCH] all: use "docker compose" not "docker-compose" As part of the Docker binary this will be updated more often and has better support and newer features than the separate "docker-compose" binary. --- .github/workflows/ci.yml | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ```