Skip to content

Commit b50e079

Browse files
chore: test api-platform/core:dev-main scheduled
1 parent 1e3ba07 commit b50e079

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- \d+.\d+
88
pull_request: ~
99
workflow_dispatch: ~
10+
# Check api-platform/core:dev-main every sunday at 02:00
11+
schedule:
12+
- cron: 0 2 * * 0
1013

1114
concurrency:
1215
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
@@ -42,6 +45,10 @@ jobs:
4245
-
4346
name: Start services
4447
run: docker compose up --wait --no-build
48+
-
49+
name: Update API Platform to latest
50+
if: ${{ github.event_name == 'schedule' }}
51+
run: docker compose exec php composer require api-platform/core:dev-main
4552
-
4653
name: Check HTTP reachability
4754
run: curl -v -o /dev/null http://localhost
@@ -121,6 +128,10 @@ jobs:
121128
-
122129
name: Start Services
123130
run: docker compose up --wait --no-build
131+
-
132+
name: Update API Platform to latest
133+
if: ${{ github.event_name == 'schedule' }}
134+
run: docker compose exec php composer require api-platform/core:dev-main
124135
-
125136
name: Load Fixtures
126137
run: docker compose run --rm php bin/console doctrine:fixtures:load --no-interaction

0 commit comments

Comments
 (0)