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]>
34 lines
738 B
YAML
34 lines
738 B
YAML
name: Fix Code Style
|
|
|
|
on:
|
|
push:
|
|
|
|
jobs:
|
|
fix-style:
|
|
name: Fix Code Style
|
|
timeout-minutes: 15
|
|
runs-on: ubuntu-20.04
|
|
env:
|
|
COMPOSER_NO_INTERACTION: 1
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@v2
|
|
with:
|
|
php-version: 7.4
|
|
coverage: none
|
|
|
|
- name: Install dependencies
|
|
run: composer update --prefer-dist --no-progress
|
|
|
|
- run: composer fix-style
|
|
continue-on-error: true
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: composer fix-style
|
|
commit_author: laravel-ide-helper <[email protected]>
|