Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 9 additions & 15 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,29 @@ jobs:
matrix:
include:
- os: "ubuntu-latest"
php: "8.0"
php: "8.2"
coverage: "none"
- os: "ubuntu-latest"
php: "8.1"
php: "8.3"
coverage: "none"
- os: "ubuntu-latest"
php: "8.4"
coverage: "pcov"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
# Only report coverage once
coverage: ${{ matrix.coverage }}

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Validate composer.json
run: composer validate --strict --no-check-lock

- name: Install dependencies
run: composer -n install --prefer-dist -o
run: composer -n update --prefer-dist -o

- name: Run test suite
if: matrix.coverage == 'none'
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
*/Entity/*~

.idea
.phpunit.result.cache
.phpunit.result.cachecomposer.lock
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Expands internal property references in PHP arrays file.",
"type": "library",
"require": {
"php": ">=8.0",
"php": ">=8.2",
"dflydev/dot-access-data": "^3.0.0",
"psr/log": "^2 | ^3"
},
Expand Down Expand Up @@ -54,7 +54,7 @@
},
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
"dev-master": "4.x-dev"
}
}
}
Loading
Loading