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
11 changes: 7 additions & 4 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4']
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup PHP 8.3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: ${{ matrix.php }}

- name: Install Composer dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,23 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php: ['8.3', '8.4']
steps:
- name: Checkout Code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Setup PHP 8.3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
php-version: ${{ matrix.php }}
extensions: mbstring
ini-values: max_execution_time=180

- name: Install Composer Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist

- name: Run tests via PHPUnit
run: vendor/bin/phpunit
run: composer phpunit
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM php:8.3.13-alpine
FROM php:8.4.11-alpine

ENV COMPOSER_HOME="/tmp/composer"

COPY --from=composer:2.8.2 /usr/bin/composer /usr/bin/composer
COPY --from=composer:2.8.11 /usr/bin/composer /usr/bin/composer

RUN set -x \
&& apk add --no-cache git \
Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"php": "^8.3",
"guzzlehttp/guzzle": "^7.8",
"ext-json": "*",
"illuminate/collections": "^11.34"
"illuminate/collections": "^11.34 | ^12.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"vlucas/phpdotenv": "^5.2",
"phpstan/phpstan": "^1.12"
"vlucas/phpdotenv": "^5.6",
"phpstan/phpstan": "1.12.28"
},
"license": "MIT",
"authors": [
Expand Down
Loading