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:
Oliver Klee 2020-05-22 11:38:45 +02:00 committed by GitHub
parent 0ad663e9c7
commit b8cf63d358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 0 deletions

View file

@ -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:

View file

@ -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)