From 9c15cee090a925aa4639a4eb3e04d3deae64d855 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Tue, 15 Feb 2022 11:20:21 +0100
Subject: [PATCH] CI: run composer validate

So we are sure that the lock file is always in sync etc.
---
 .gitlab-ci.yml | 1 +
 composer.json  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a8effd9..cb03079 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,6 +17,7 @@ stages:
 .test_defaults: &test_defaults
   script:
     - sudo update-alternatives --set php "/usr/bin/${PHP}"
+    - composer validate
     - composer install
     - composer test
 
diff --git a/composer.json b/composer.json
index d008ee2..4198b91 100644
--- a/composer.json
+++ b/composer.json
@@ -1,5 +1,6 @@
 {
     "name": "dbp/relay-template-bundle",
+    "description": "A template bundle for the Relay API gateway",
     "type": "symfony-bundle",
     "license": "AGPL-3.0-or-later",
     "require": {
-- 
GitLab