Skip to content

Commit ed404b5

Browse files
committed
Update code to work with new docker compose
1 parent bfbc60f commit ed404b5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: ci
22

33
on:
4-
push:
5-
workflow_dispatch:
4+
- push
5+
- workflow_dispatch
6+
- pull_request
67

78
env:
89
COMPOSE_DOCKER_CLI_BUILD: 1
@@ -57,7 +58,7 @@ jobs:
5758
docker-compose-file: 'docker-compose.ci.postgresql.yml'
5859
steps:
5960
- name: Checkout code
60-
uses: actions/checkout@v2
61+
uses: actions/checkout@v4
6162
- name: Set up Ruby
6263
uses: ruby/setup-ruby@v1
6364
with:
@@ -66,7 +67,7 @@ jobs:
6667
- name: Start stack
6768
run: |
6869
cd docker
69-
docker-compose -p it -f ${{ matrix.docker-compose-file }} up --no-start
70+
docker compose -p it -f ${{ matrix.docker-compose-file }} up --no-start
7071
docker start it_db_1
7172
- name: Wait for MySQL
7273
if: ${{ matrix.docker-compose-file == 'docker-compose.ci.mysql.yml' }}

0 commit comments

Comments
 (0)