Skip to content

Commit c84cb2e

Browse files
committed
- Created 1.x branch
1 parent 87f88c8 commit c84cb2e

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: tests
33
on:
44
pull_request:
55
branches:
6-
- main
6+
- 1.x
77
push:
88
branches:
9-
- main
9+
- 1.x
1010

1111
jobs:
1212
tests:
@@ -41,7 +41,7 @@ jobs:
4141
with:
4242
php-version: ${{ matrix.php }}
4343
extensions: curl, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, iconv
44-
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
44+
coverage: ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable' && 'xdebug' || 'none' }}
4545

4646
- name: Install dependencies
4747
run: |
@@ -50,10 +50,10 @@ jobs:
5050
5151
- name: Execute tests
5252
run: |
53-
vendor/bin/phpunit ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable' && '--coverage-clover=clover.xml' || '' }}
53+
vendor/bin/phpunit ${{ startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable' && '--coverage-clover=clover.xml' || '' }}
5454
5555
- name: Make code coverage badge
56-
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.3' && matrix.laravel == '11.*' && matrix.stability == 'prefer-stable'
56+
if: startsWith(github.event.head_commit.message, 'coverage') && matrix.php == '8.4' && matrix.laravel == '12.*' && matrix.stability == 'prefer-stable'
5757
uses: timkrase/phpunit-coverage-badge@v1.2.1
5858
with:
5959
coverage_badge_path: .github/coverage.svg

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Auth
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/javaabu/auth.svg?style=flat-square)](https://packagist.org/packages/javaabu/auth)
4-
[![Test Status](../../actions/workflows/run-tests.yml/badge.svg)](../../actions/workflows/run-tests.yml)
4+
[![Test Status](../../actions/workflows/run-tests.yml/badge.svg?branch=1.x)](../../actions/workflows/run-tests.yml)
55
![Code Coverage Badge](./.github/coverage.svg)
66
[![Total Downloads](https://img.shields.io/packagist/dt/javaabu/auth.svg?style=flat-square)](https://packagist.org/packages/javaabu/auth)
77

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"extra": {
3838
"branch-alias": {
39-
"dev-main": "1.0-dev"
39+
"dev-1.x": "1.0-dev"
4040
},
4141
"laravel": {
4242
"providers": [

0 commit comments

Comments
 (0)