mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 18:13:11 +00:00
* gha: be more specific which OS to use Avoids "surprises" when Github changes the underlying version, like they currently announce with a warning: > Ubuntu-latest workflows will use Ubuntu-20.04 soon. For more details, see https://github.com/actions/virtual-environments/issues/1816 Note: basically right now "latest" is actually 18.04 and not 20.04 * composer fix-style * gha: require league/flysystem:^1 for lumen 2.* doesn't work out of the box * gha: explicit version of composer isn't necessary anymore v2 is already the default * Be explicit to require the pdo SQLite extension for tests Co-authored-by: laravel-ide-helper <[email protected]>
27 lines
573 B
YAML
27 lines
573 B
YAML
name: normalize composer.json
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- composer.json
|
|
|
|
jobs:
|
|
normalize:
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Git checkout
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Validate Composer configuration
|
|
run: composer validate --strict
|
|
|
|
- name: Normalize composer.json
|
|
run: |
|
|
composer global require ergebnis/composer-normalize
|
|
composer normalize
|
|
|
|
- uses: stefanzweifel/[email protected]
|
|
with:
|
|
commit_message: normalize composer.json
|