Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions app/Commands/InitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ class InitCommand extends Command
* when the template changes. The glimpseimg.com repo runs a
* docs-drift workflow that compares the two and fails on mismatch.
*
* PHP is pinned with setup-php so the check runs on the newest
* stable instead of the runner image default (8.4 today) and stays
* deterministic as that default drifts.
*
* The install goes through Composer so every CI run is counted as a
* Packagist install. The package declares no runtime dependencies
* (the bin is the committed phar), so the install only downloads the
Expand Down Expand Up @@ -94,6 +98,10 @@ class InitCommand extends Command
GLIMPSE_TOKEN: ${{ secrets.GLIMPSE_TOKEN }}
steps:
- uses: actions/checkout@v6
- uses: shivammathur/setup-php@v2
with:
php-version: '8.5'
coverage: none
- name: Install glimpse
run: |
composer global require --no-interaction --no-progress mathiasgrimm/glimpse-cli
Expand Down
Loading