mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 08:36:12 +01:00
[BUGFIX] Use the PHP version from the matrix in the CI (#48)
For GitHub actions, an explicit step is required to use a specific PHP version. If this is not done, a default version will be used (which makes the builds unpredictable).
This commit is contained in:
parent
0ad663e9c7
commit
b8cf63d358
2 changed files with 31 additions and 0 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
@ -21,6 +21,11 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
|
||||
- name: Run PHP lint
|
||||
run: composer ci:php:lint
|
||||
|
||||
|
@ -29,10 +34,20 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version:
|
||||
- 7.3
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
|
||||
- name: "Cache dependencies installed with composer"
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
@ -52,10 +67,20 @@ jobs:
|
|||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
php-version:
|
||||
- 7.3
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
|
||||
- name: "Cache dependencies installed with composer"
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
@ -92,6 +117,11 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Install PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-version }}
|
||||
|
||||
- name: "Cache dependencies installed with composer"
|
||||
uses: actions/cache@v1
|
||||
with:
|
||||
|
|
|
@ -48,6 +48,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|||
- Drop the dependency of `roave/security-advisories`
|
||||
|
||||
### Fixed
|
||||
- Use the PHP version from the matrix in the CI (#48)
|
||||
- Re-add the static TypoScript registration (#41)
|
||||
- Keep the global namespace clean in `ext_localconf.php` (#40)
|
||||
- Update the badge URLs in the `README` (#29, #22)
|
||||
|
|
Loading…
Reference in a new issue