From 03cf97678eb9307d394c2fe16827bfdf524b4878 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Mon, 10 Mar 2025 14:44:41 +0100
Subject: [PATCH] gitlab-ci-cd/drupal#79 Optimize check4updates

---
 test-and-deploy.yml | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/test-and-deploy.yml b/test-and-deploy.yml
index 1b3379f..79c7f62 100644
--- a/test-and-deploy.yml
+++ b/test-and-deploy.yml
@@ -773,9 +773,7 @@ Debug:
   artifacts:
     name: check4updates
     when: always
-    paths:
-      - composer.json
-      - composer.lock
+    <<: *artifact_paths
 
 .check4updatecommit:
   stage: postprocess
@@ -835,11 +833,7 @@ Debug:
     - job: Build Site
       artifacts: true
       optional: true
-  before_script:
-    - !reference [.prepareaccess, before_script]
-    - !reference [.preparecomposerplugins, before_script]
   script:
-    - composer update --with-all-dependencies --no-interaction --no-progress --no-dev
     - composer diagnose --no-interaction || true
     - composer audit --no-dev --locked --format=table
   rules:
@@ -872,11 +866,7 @@ Debug:
     - job: Build Site
       artifacts: true
       optional: true
-  before_script:
-    - !reference [.prepareaccess, before_script]
-    - !reference [.preparecomposerplugins, before_script]
   script:
-    - composer update --with-all-dependencies --no-interaction --no-progress --no-dev
     - composer outdated --minor-only --strict --no-interaction $OUTDATED_EXTRAS
     - composer outdated --patch-only --strict --no-interaction $OUTDATED_EXTRAS
   rules:
-- 
GitLab