From f21b61665ce7c8fa51c2a5d45d552a59aec2bfc2 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 31 Oct 2020 09:11:40 +0000 Subject: [PATCH] Run `composer validate` in CI This ensures that the composer.json and composer.lock files are in sync before trying to install the site. --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f750ed1..120e521 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,9 @@ jobs: coverage: none tools: composer:v1 + - name: Ensure that composer.json and composer.lock are in sync + run: composer validate + - name: Install dependencies run: composer install --prefer-dist --no-interaction --no-suggest