From f910eb34b9719320d289ae59b06270e23cb18508 Mon Sep 17 00:00:00 2001 From: minottic Date: Wed, 22 Jan 2025 17:51:58 +0100 Subject: [PATCH] Use docker compose plugin --- .github/workflows/proposals-sync.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/proposals-sync.yml b/.github/workflows/proposals-sync.yml index 87f8a8b..a9e2db1 100644 --- a/.github/workflows/proposals-sync.yml +++ b/.github/workflows/proposals-sync.yml @@ -46,19 +46,19 @@ jobs: - name: Build run: | cp docker-compose.dev.yml docker-compose.yml - docker-compose up -d --build + docker compose up -d --build - name: Test - run: docker-compose exec -T app pytest + run: docker compose exec -T app pytest - name: Black - run: docker-compose exec -T app black --check --diff --no-color ./src + run: docker compose exec -T app black --check --diff --no-color ./src - name: Isort - run: docker-compose exec -T app isort --check --diff ./src + run: docker compose exec -T app isort --check --diff ./src - name: Pylint - run: docker-compose exec -T app pylint ./src + run: docker compose exec -T app pylint ./src continue-on-error: true - name: Build prod @@ -66,7 +66,7 @@ jobs: - name: Cleanup if: ${{ always() }} - run: docker-compose down + run: docker compose down build_deploy: if: (needs.check_changed.outputs.changed == 'true' && !needs.set_env.outputs.component && needs.set_env.outputs.environment != 'development') || needs.set_env.outputs.component == 'pr'