Skip to content

Use docker compose in GitHub action. #28

Use docker compose in GitHub action.

Use docker compose in GitHub action. #28

Workflow file for this run

name: CI
on: [push, pull_request_target]
jobs:
build-test:
runs-on: ubuntu-24.04
strategy:
matrix:
ROBO_VERSION: [ "4.0", "5.0" ]
PHP_VERSION: [ "8.2", "8.3" ]
include:
- ROBO_VERSION: "4.0"
PHP_VERSION: "8.0"
- ROBO_VERSION: "4.0"
PHP_VERSION: "8.1"
steps:
- uses: actions/checkout@v2
- name: test
with:
PHP_VERSION: ${{ matrix.PHP_VERSION }}
run: |

Check failure on line 22 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 22, Col: 9): Unexpected value 'run' .github/workflows/ci.yml (Line: 19, Col: 9): Required property is missing: uses
docker compose up -d
docker compose exec -T php require consolidation/robo:~${{ matrix.ROBO_VERSION }}
docker compose exec -T php phpunit