Skip to content

Commit b3e5a2e

Browse files
committed
cleanup build matrix and adjust to semantic branch naming
1 parent 3595192 commit b3e5a2e

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/workflows/test-application.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,14 @@ on:
44
pull_request:
55
push:
66
branches:
7-
- 'master'
7+
- '[0-9]+.x'
8+
- '[0-9]+.[0-9]+'
9+
- '[0-9]+.[0-9]+.x'
810

911
jobs:
1012
test:
1113
name: 'PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}'
12-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1315
env:
1416
SYMFONY_DEPRECATIONS_HELPER: weak
1517

@@ -23,10 +25,12 @@ jobs:
2325
- php-version: '7.4'
2426
- php-version: '8.0'
2527
- php-version: '8.1'
28+
- php-version: '8.2'
29+
- php-version: '8.3'
2630

2731
steps:
2832
- name: Checkout project
29-
uses: actions/checkout@v2
33+
uses: actions/checkout@v4
3034

3135
- name: Install and configure PHP
3236
uses: shivammathur/setup-php@v2
@@ -35,7 +39,7 @@ jobs:
3539
tools: 'composer:v2'
3640

3741
- name: Install dependencies with Composer
38-
uses: ramsey/composer-install@v1
42+
uses: ramsey/composer-install@v3
3943
with:
4044
dependency-versions: ${{ matrix.dependencies }}
4145
composer-options: --prefer-dist

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PHPCR Migrations
22
================
33

44
[![Build
5-
Status](https://travis-ci.org/phpcr/phpcr-migrations.svg?branch=master)](https://travis-ci.org/phpcr/phpcr-migrations)
5+
Status](https://github.com/phpcr/phpcr-migrations/actions/workflows/test-application.yaml/badge.svg)](https://github.com/phpcr/phpcr-migrations/actions/workflows/test-application.yaml)
66

77
Migrations library for PHPCR influenced by [Doctrine
88
migrations](https://github.com/doctrine/migrations).

composer.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"require-dev": {
1818
"jackalope/jackalope-fs": "0.0.*",
1919
"handcraftedinthealps/zendsearch": "^2.0",
20-
"phpunit/phpunit": "^8.5 || ^9.4"
20+
"phpunit/phpunit": "^8.5 || ^9.4",
21+
"phpspec/prophecy": "^1.19"
2122
},
2223
"autoload": {
2324
"psr-4": {
@@ -28,8 +29,5 @@
2829
"psr-4": {
2930
"PHPCR\\Migrations\\Tests\\": "tests"
3031
}
31-
},
32-
"extra": {
33-
"branch-alias": {"dev-master": "1.x-dev" }
3432
}
3533
}

0 commit comments

Comments
 (0)