Skip to content
Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/pint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ name: Fix Styling
on: [push]

jobs:
php-cs-fixer:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}

- name: Fix styling issues
uses: aglipanci/laravel-pint-action@0.1.0
uses: aglipanci/laravel-pint-action@latest

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
18 changes: 9 additions & 9 deletions .github/workflows/run-tests.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: run-tests
name: Run Tests

on: ['push', 'pull_request']

Expand All @@ -9,20 +9,20 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.2, 8.3]
laravel: [10.*, 11.*]
php: [8.3, 8.4, 8.5]
laravel: [12.*, 13.*]
stability: [prefer-lowest, prefer-stable]
include:
- laravel: 10.*
testbench: 8.*
- laravel: 11.*
testbench: 9.*
- laravel: 12.*
testbench: ^10.8
- laravel: 13.*
testbench: ^11.0

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -42,4 +42,4 @@ jobs:
composer update --${{ matrix.stability }} --prefer-dist --no-interaction

- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/pest --ci
29 changes: 14 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@
}
],
"require": {
"php": "^8.2",
"laravel/framework": "^10.0 || ^11.0",
"statamic/cms": "^5.0",
"php": "^8.3",
"laravel/framework": "^12.0 || ^13.0",
"statamic/cms": "^6.0",
"stechstudio/laravel-zipstream": "^5.0"
},
"require-dev": {
"nunomaduro/collision": "^7.0 || ^8.0",
"orchestra/testbench": "^8.0 || ^9.0",
"phpunit/phpunit": "^10.0"
"laravel/pint": "^1.27",
"orchestra/testbench": "^10.0 || ^11.0",
"pestphp/pest": "^4.0",
"pestphp/pest-plugin-laravel": "^4.0",
"spatie/laravel-ray": "^1.43"
},
"autoload": {
"psr-4": {
Expand All @@ -35,23 +37,20 @@
"autoload-dev": {
"psr-4": {
"Aerni\\Zipper\\Tests\\": "tests"
},
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"test": "vendor/bin/phpunit",
"format": "vendor/bin/php-cs-fixer fix --allow-risky=yes"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true,
"allow-plugins": {
"pixelfear/composer-dist-plugin": true
"pixelfear/composer-dist-plugin": true,
"pestphp/pest-plugin": true
}
},
"scripts": {
"test": "./vendor/bin/pest"
},
"extra": {
"statamic": {
"name": "Zipper",
Expand Down
Loading
Loading