mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
* Bump minimum PHP version to 8.1 Laravel 10 doesn't support 8.0 anyway * Remove phpunit 9 * gha: remove unused matrix dimension * gha: bump runner os * tests: remove outdated version checks
29 lines
711 B
YAML
29 lines
711 B
YAML
name: normalize composer.json
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- .github/workflows/composer-normalize.yml
|
|
- composer.json
|
|
|
|
jobs:
|
|
normalize:
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- name: Git checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Validate Composer configuration
|
|
run: composer validate --strict
|
|
|
|
- name: Normalize composer.json
|
|
run: |
|
|
composer global config --no-plugins allow-plugins.ergebnis/composer-normalize true
|
|
composer global require ergebnis/composer-normalize
|
|
composer normalize
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: normalize composer.json
|