Skip to content

Commit

Permalink
cleanup build matrix and adjust to semantic branch naming
Browse files Browse the repository at this point in the history
  • Loading branch information
dbu committed Mar 16, 2024
1 parent 3595192 commit 671c0e2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test-application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on:
pull_request:
push:
branches:
- 'master'
- '[0-9]+.x'
- '[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.x'

jobs:
test:
name: 'PHP ${{ matrix.php-version }} ${{ matrix.dependencies }}'
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
env:
SYMFONY_DEPRECATIONS_HELPER: weak

Expand All @@ -23,10 +25,12 @@ jobs:
- php-version: '7.4'
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'
- php-version: '8.3'

steps:
- name: Checkout project
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Install and configure PHP
uses: shivammathur/setup-php@v2
Expand All @@ -35,7 +39,7 @@ jobs:
tools: 'composer:v2'

- name: Install dependencies with Composer
uses: ramsey/composer-install@v1
uses: ramsey/composer-install@v3
with:
dependency-versions: ${{ matrix.dependencies }}
composer-options: --prefer-dist
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PHPCR Migrations
================

[![Build
Status](https://travis-ci.org/phpcr/phpcr-migrations.svg?branch=master)](https://travis-ci.org/phpcr/phpcr-migrations)
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)

Migrations library for PHPCR influenced by [Doctrine
migrations](https://github.com/doctrine/migrations).
Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,5 @@
"psr-4": {
"PHPCR\\Migrations\\Tests\\": "tests"
}
},
"extra": {
"branch-alias": {"dev-master": "1.x-dev" }
}
}

0 comments on commit 671c0e2

Please sign in to comment.