diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e9f1fd7..d7d81361 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: - \d+.\d+ pull_request: ~ workflow_dispatch: ~ + # Check api-platform/core:dev-main every sunday at 02:00 + schedule: + - cron: 0 2 * * 0 concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} @@ -42,6 +45,10 @@ jobs: - name: Start services run: docker compose up --wait --no-build + - + name: Update API Platform to latest +# if: ${{ github.event_name == 'schedule' }} + run: docker compose exec php composer require api-platform/core:dev-main - name: Check HTTP reachability run: curl -v -o /dev/null http://localhost