From 557ec5c415ac35ca122078cb4f8908f6fe1a1553 Mon Sep 17 00:00:00 2001 From: Vincent Chalamon <407859+vincentchalamon@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:57:36 +0100 Subject: [PATCH] chore: test api-platform/core:dev-main scheduled --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) 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