File tree Expand file tree Collapse file tree 2 files changed +17
-9
lines changed
Expand file tree Collapse file tree 2 files changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -48,17 +48,11 @@ jobs:
4848 extensions : phar, zlib
4949 ini-values : phar.readonly=0
5050
51- - name : Install humbug/box
52- run : |
53- wget -q -O box https://github.com/box-project/box/releases/latest/download/box.phar
54- chmod +x box
55- sudo mv box /usr/local/bin/box
56-
5751 - name : Install dependencies
58- run : composer install --no-interaction --prefer-dist --optimize-autoloader
52+ run : composer install --no-interaction --prefer-dist --optimize-autoloader --no-scripts
5953
6054 - name : Compile PHAR
61- run : php -d phar.readonly=0 box compile --config=box.json
55+ run : php -d phar.readonly=0 bin/build-phar.php
6256
6357 - name : Verify PHAR
6458 run : |
Original file line number Diff line number Diff line change 3232 - name : Validate composer.json
3333 run : composer validate --strict --no-check-lock
3434
35+ - name : Get Composer cache directory
36+ id : composer-cache
37+ run : echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"
38+
39+ - name : Cache dependencies
40+ uses : actions/cache@v4
41+ with :
42+ path : ${{ steps.composer-cache.outputs.dir }}
43+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
44+ restore-keys : ${{ runner.os }}-composer-
45+
46+ - name : Install dependencies
47+ run : composer install --prefer-dist --no-progress --no-scripts
48+
3549 - name : Check platform requirements
36- run : composer check-platform-reqs --no-dev
50+ run : composer check-platform-reqs
3751
3852 # ============================================================================
3953 # SECURITY AUDIT
You can’t perform that action at this time.
0 commit comments