mirror of
https://github.com/beste/clock.git
synced 2026-08-17 17:47:13 +00:00
Re-introduce support for PHP ^8.0 (instead of only 8.1.x and 8.2.x)
This commit is contained in:
@@ -15,11 +15,9 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
php:
|
php:
|
||||||
|
- "8.0"
|
||||||
- "8.1"
|
- "8.1"
|
||||||
- "8.2"
|
- "8.2"
|
||||||
dependencies:
|
|
||||||
- "lowest"
|
|
||||||
- "highest"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
@@ -34,9 +32,6 @@ jobs:
|
|||||||
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- uses: "ramsey/composer-install@v2"
|
- uses: "ramsey/composer-install@v2"
|
||||||
with:
|
|
||||||
dependency-versions: "${{ matrix.dependencies }}"
|
|
||||||
composer-options: "${{ matrix.composer-options }}"
|
|
||||||
|
|
||||||
- name: Setup problem matchers for PHP
|
- name: Setup problem matchers for PHP
|
||||||
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~8.1.0 || ~8.2.0",
|
"php": "^8.0",
|
||||||
"psr/clock": "^1.0"
|
"psr/clock": "^1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
|
|||||||
Reference in New Issue
Block a user