Skip to content

Commit fec520f

Browse files
committed
Update Docker commands in GitHub workflow
The Docker commands in the GitHub workflow file have been updated from "docker-compose" to "docker compose". This is reflected in the lines for checking code style, installing dependencies, and running the test suite. This change ensures compatibility with newer Docker versions where "docker compose" is the recommended syntax.
1 parent c5b207b commit fec520f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/php.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
steps:
99
- uses: actions/checkout@v2
1010
- name: Check code style
11-
run: docker-compose -f docker-compose.cli.yml run --rm php-cs-fixer fix --verbose --show-progress=estimating --dry-run
11+
run: docker compose -f docker-compose.cli.yml run --rm php-cs-fixer fix --verbose --show-progress=estimating --dry-run
1212
run-tests:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v2
1616
- name: Build docker image
1717
run: docker-compose build php-cli
1818
- name: Install dependencies
19-
run: docker-compose run --rm php-cli composer install
19+
run: docker compose run --rm php-cli composer install
2020
- name: Run test suite
21-
run: docker-compose run --rm php-cli ./vendor/bin/phpunit
21+
run: docker compose run --rm php-cli composer test

0 commit comments

Comments
 (0)