Skip to content

Commit

Permalink
Update CI to use docker-compose v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo157 committed Oct 13, 2023
1 parent a9cae09 commit 9204a09
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
run: |
cp .env.sample .env
mkdir -p ${DOCSRS_PREFIX}/public-html
docker-compose up -d db s3
docker compose up -d db s3
# Give the database enough time to start up
sleep 5
# Make sure the database is actually working
Expand All @@ -82,7 +82,7 @@ jobs:
done
- name: Clean up the database
run: docker-compose down --volumes
run: docker compose down --volumes

build_tests:
runs-on: ubuntu-latest
Expand All @@ -101,7 +101,7 @@ jobs:
run: |
cp .env.sample .env
mkdir -p ${DOCSRS_PREFIX}/public-html
docker-compose up -d db s3
docker compose up -d db s3
# Give the database enough time to start up
sleep 5
# Make sure the database is actually working
Expand All @@ -119,7 +119,7 @@ jobs:
done
- name: Clean up the database
run: docker-compose down --volumes
run: docker compose down --volumes

fmt:
name: Rustfmt
Expand Down

0 comments on commit 9204a09

Please sign in to comment.