Skip to content

Commit 38add1a

Browse files
authoredMar 5, 2025
chore: 🤖 Bump version (#16)
1 parent 4d2977f commit 38add1a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+464
-264
lines changed
 

‎.github/workflows/ci.yml

Lines changed: 31 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,20 @@ jobs:
2424
2525
strategy:
2626
matrix:
27-
php: ['8.0', 8.1, 8.2]
28-
lib:
29-
- { laravel: ^11.0 }
30-
- { laravel: ^10.0 }
31-
- { laravel: ^9.0 }
27+
php: [8.2, 8.3, 8.4]
28+
laravel: [^11.0, ^12.0, ^13.0.x-dev]
3229
exclude:
33-
- { php: 8.0, lib: { laravel: ^10.0 } }
34-
- { php: 8.0, lib: { laravel: ^11.0 } }
35-
- { php: 8.1, lib: { laravel: ^11.0 } }
30+
- php: 8.2
31+
laravel: ^13.0.x-dev
3632
include:
37-
- { lib: { laravel: ^9.0 }, phpstan: 1 }
38-
- { lib: { laravel: ^10.0 }, phpstan: 1 }
33+
- php: 8.2
34+
php-cs-fixer: 1
35+
- php: 8.3
36+
php-cs-fixer: 1
37+
- laravel: ^11.0
38+
larastan: 1
39+
- laravel: ^12.0
40+
larastan: 1
3941

4042
steps:
4143
- uses: actions/checkout@v3
@@ -46,27 +48,39 @@ jobs:
4648
php-version: ${{ matrix.php }}
4749
coverage: xdebug
4850

49-
- name: Remove impossible dependencies
50-
if: ${{ matrix.phpstan != 1 }}
51+
- name: Remove impossible dependencies (nunomaduro/larastan)
52+
if: ${{ matrix.larastan != 1 }}
5153
run: composer remove nunomaduro/larastan --dev --no-update
5254

55+
- name: Remove impossible dependencies (friendsofphp/php-cs-fixer)
56+
if: ${{ matrix.php-cs-fixer != 1 }}
57+
run: composer remove friendsofphp/php-cs-fixer --dev --no-update
58+
5359
- name: Adjust Package Versions
5460
run: |
55-
composer require "laravel/framework:${{ matrix.lib.laravel }}" --dev
61+
composer require "laravel/framework:${{ matrix.laravel }}" --dev --no-update
62+
composer update
63+
64+
- name: Prepare Coverage Directory
65+
run: mkdir -p build/logs
66+
67+
- name: PHP-CS-Fixer
68+
if: ${{ matrix.php-cs-fixer == 1 }}
69+
run: composer cs
5670

5771
- name: PHPStan
58-
if: ${{ matrix.phpstan == 1 }}
72+
if: ${{ matrix.larastan == 1 }}
5973
run: composer phpstan
6074

61-
- run: mkdir -p build/logs
62-
- run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
75+
- name: Test
76+
run: composer test -- --testdox --coverage-clover build/logs/clover.xml
6377

6478
- name: Upload Coverage
6579
uses: nick-invision/retry@v2
6680
env:
6781
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6882
COVERALLS_PARALLEL: 'true'
69-
COVERALLS_FLAG_NAME: 'laravel:${{ matrix.lib.laravel }}'
83+
COVERALLS_FLAG_NAME: "laravel:${{ matrix.laravel }} php:${{ matrix.php }}"
7084
with:
7185
timeout_minutes: 1
7286
max_attempts: 3

‎.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ composer.lock
22
/.idea/
33
/vendor/
44
/build/logs/
5-
.php_cs.cache
5+
.php-cs-fixer.cache
66
/.phpunit.cache/

0 commit comments

Comments
 (0)