[GHA] Misc improvements (#1101)

* 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]>
This commit is contained in:
Markus Podar
2020-11-30 15:13:01 +01:00
committed by GitHub
co-authored by laravel-ide-helper
parent 336ae44ef2
commit ca0cf7355a
7 changed files with 11 additions and 13 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ on:
jobs:
php-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 15
env:
COMPOSER_NO_INTERACTION: 1
@@ -37,7 +37,7 @@ jobs:
with:
php-version: ${{ matrix.php }}
coverage: none
tools: composer:v2
extensions: pdo_sqlite
- name: Install dependencies
run: |