Skip to content

Commit 59ced2b

Browse files
committed
added github workflows
1 parent bab4685 commit 59ced2b

3 files changed

Lines changed: 33 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Run Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
php:
12+
- '8.4'
13+
- '8.3'
14+
15+
name: PHP${{ matrix.php }}
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v5
20+
21+
- name: Setup PHP ${{ matrix.php }}
22+
uses: shivammathur/setup-php@v2
23+
with:
24+
php-version: ${{ matrix.php }}
25+
26+
- name: Install dependencies
27+
run: composer update
28+
29+
- name: Test code
30+
run: composer test

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ It automatically maps incoming request parameters to filter methods, making comp
2020
- [Creating a Sort Class](#creating-a-sort-class)
2121
- [Request Example](#request-example)
2222
- [Applying Sort](#applying-sort)
23+
- [Testing](#testing)
2324
- [Contributing](#contributing)
2425
- [Credits](#credits)
2526
- [License](#license)
@@ -28,7 +29,7 @@ It automatically maps incoming request parameters to filter methods, making comp
2829

2930
This package requires:
3031

31-
* PHP ^8.2
32+
* PHP ^8.3
3233
* Laravel ^12.0
3334

3435
## Installation

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
}
2222
],
2323
"require": {
24-
"php": "^8.2",
24+
"php": "^8.3",
2525
"laravel/framework": "^12.0"
2626
},
2727
"require-dev": {

0 commit comments

Comments
 (0)