github actions build: stop clobbering $PATH in install.sh; add composer validate --no-check-lock before install.sh

This commit is contained in:
David Goodwin committed 2026-11-06 10:18:27 +00:00
1 parent c8b92047a6
commit 59ec8b4f2b
2 files changed
+4 -1

No files matched your search

+3
View File
@@ -28,6 +28,9 @@ jobs:
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-
- name: check composer.json
run: composer validate --no-check-lock
- name: run install.sh
run: /bin/bash install.sh
+1 -1
View File
@@ -7,7 +7,7 @@ set -eu
# 2. Runs 'php composer install' which should install required runtime libraries for Postfixadmin
# 3. Runs 'mkdir templates_c && chmod 777 templates_c'
PATH=/bin:/usr/bin:/usr/local/bin
PATH=${PATH:+$PATH:}/bin:/usr/bin:/usr/local/bin
export PATH
COMPOSER_URL=https://getcomposer.org/download/latest-stable/composer.phar