From b7363c38dd05b8ca15cf4340c0e937172d725f10 Mon Sep 17 00:00:00 2001 From: wookie184 Date: Tue, 2 Apr 2024 19:56:26 +0100 Subject: Replace `docker-compose` with `docker compose` in action --- .github/workflows/lint-test.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint-test.yaml b/.github/workflows/lint-test.yaml index 3a25cf70..9d844d64 100644 --- a/.github/workflows/lint-test.yaml +++ b/.github/workflows/lint-test.yaml @@ -18,8 +18,8 @@ jobs: # Start the database early to give it a chance to get ready before # we start running tests. - - name: Run database using docker-compose - run: docker-compose run -d -p 7777:5432 --name pydis_web postgres + - name: Run database using docker compose + run: docker compose run -d -p 7777:5432 --name pydis_web postgres # We will not run `flake8` here, as we will use a separate flake8 # action. @@ -50,8 +50,8 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} file: ./coverage.lcov - - name: Tear down docker-compose containers - run: docker-compose stop + - name: Tear down docker compose containers + run: docker compose stop if: ${{ always() }} # Prepare the Pull Request Payload artifact. If this fails, we -- cgit v1.2.3