mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 22:36:12 +01:00

[BUGFIX] Treat PHP versions in the GitHub CI configuration as strings (#459)

PHP version numbers need to be strings: If the version `8.0` were
treated as a number, the YAML parser would happily convert it to `8`,
hence dropping the minor version number.
This commit is contained in:
Oliver Klee 2022-06-15 18:22:18 +02:00 committed by GitHub
parent 25476a2a72
commit af0d77a7aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 77 additions and 77 deletions

View file

@ -28,11 +28,11 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
php-version: php-version:
- 7.2 - "7.2"
- 7.3 - "7.3"
- 7.4 - "7.4"
- 8.0 - "8.0"
- 8.1 - "8.1"
code-quality: code-quality:
name: "Code quality checks" name: "Code quality checks"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -70,7 +70,7 @@ jobs:
- "ts:lint" - "ts:lint"
- "yaml:lint" - "yaml:lint"
php-version: php-version:
- 7.4 - "7.4"
code-quality-frontend: code-quality-frontend:
name: "Code quality frontend checks" name: "Code quality frontend checks"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -138,41 +138,41 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 7.4 php-version: "7.4"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.0 php-version: "8.0"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.0 php-version: "8.0"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.1 php-version: "8.1"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.1 php-version: "8.1"
composer-dependencies: lowest composer-dependencies: lowest
functional-tests: functional-tests:
name: "Functional tests" name: "Functional tests"
@ -225,39 +225,39 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 7.4 php-version: "7.4"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.0 php-version: "8.0"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.0 php-version: "8.0"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.1 php-version: "8.1"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 8.1 php-version: "8.1"
composer-dependencies: lowest composer-dependencies: lowest

View file

@ -65,6 +65,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- typo3-version: ^11.5 - typo3-version: "^11.5"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest

View file

@ -27,9 +27,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
php-version: php-version:
- 7.2 - "7.2"
- 7.3 - "7.3"
- 7.4 - "7.4"
typoscript-lint: typoscript-lint:
name: "TypoScript linter" name: "TypoScript linter"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -123,7 +123,7 @@ jobs:
- "composer:normalize" - "composer:normalize"
- "php:sniff" - "php:sniff"
php-version: php-version:
- 7.4 - "7.4"
code-quality-frontend: code-quality-frontend:
name: "Code quality frontend checks" name: "Code quality frontend checks"
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
@ -194,12 +194,12 @@ jobs:
- highest - highest
- lowest - lowest
php-version: php-version:
- 7.2 - "7.2"
- 7.3 - "7.3"
- 7.4 - "7.4"
typo3-version: typo3-version:
- ^9.5 - "^9.5"
- ^10.4 - "^10.4"
functional-tests: functional-tests:
name: "Functional tests" name: "Functional tests"
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
@ -251,21 +251,21 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.2 php-version: "7.2"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.3 php-version: "7.3"
composer-dependencies: lowest composer-dependencies: lowest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: highest composer-dependencies: highest
- typo3-version: ^10.4 - typo3-version: "^10.4"
php-version: 7.4 php-version: "7.4"
composer-dependencies: lowest composer-dependencies: lowest