Skip to content

Commit 40e4243

Browse files
committed
chore: use docker compose instead of docker-compose
1 parent 276e4fd commit 40e4243

2 files changed

Lines changed: 4 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,15 @@ jobs:
2727
go mod tidy --diff
2828
2929
- name: Install golangci-lint ${{ env.GOLANGCI_LINT_VERSION }}
30-
uses: golangci/golangci-lint-action@v9.0.0
30+
uses: golangci/golangci-lint-action@v9
3131
with:
3232
version: ${{ env.GOLANGCI_LINT_VERSION }}
3333

34-
- name: Install Compose
35-
uses: ndeloof/install-compose-action@v0.0.1
36-
with:
37-
legacy: true
38-
3934
- name: Run tests
4035
run: make test
4136
env:
4237
TEST_ARGS: "--count=1" # disable go test cache
4338

4439
- name: Display docker-compose logs
4540
if: failure()
46-
run: docker-compose -f script/docker-compose.yml logs
41+
run: docker compose -f script/docker-compose.yml logs

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ test:
1515
## Launch docker stack for test
1616
.PHONY: test-start-stack
1717
test-start-stack:
18-
docker-compose -f script/docker-compose.yml up --wait
18+
docker compose -f script/docker-compose.yml up --wait
1919

2020
## Clean local data
2121
.PHONY: clean
2222
clean:
23-
docker-compose -f script/docker-compose.yml down --remove-orphans
23+
docker compose -f script/docker-compose.yml down --remove-orphans
2424
$(RM) goverage.report $(shell find . -type f -name *.out)

0 commit comments

Comments
 (0)