Skip to content

Commit

Permalink
Merge pull request #19 from Toflar/lower-deps
Browse files Browse the repository at this point in the history
Investigate lowering the dependencies
  • Loading branch information
ddebowczyk authored Jun 7, 2024
2 parents 8e54f8f + fae9849 commit 31b182d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6,379 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@ permissions:

jobs:
build:
name: 'PHP ${{ matrix.php }} (Composer Flags: ${{ matrix.composer }})'

runs-on: ubuntu-20.04

strategy:
fail-fast: false
matrix:
php: ['8.2', '8.3']
composer: ['--prefer-stable', '--prefer-lowest']

steps:
- uses: actions/checkout@v3

Expand All @@ -30,10 +37,7 @@ jobs:
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

# Add a test script to composer.json, for instance: "test": "vendor/bin/phpunit"
# Docs: https://getcomposer.org/doc/articles/scripts.md
run: composer update --no-interaction --no-suggest ${{ matrix.composer }}

- name: Run test suite
run: vendor/bin/pest
run: composer test
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
],
"require-dev": {
"pestphp/pest": "^2.34",
"symfony/var-dumper": "^7.0",
"symfony/var-dumper": "^6.4 || ^7.0",
"mockery/mockery": "^1.6",
"toolkit/cli-utils": "^2.0",
"cebe/markdown": "^1.2"
Expand All @@ -44,20 +44,20 @@
},
"require": {
"php": "^8.2",
"symfony/validator": "^7.0",
"symfony/serializer": "^7.0",
"symfony/property-info": "^7.0",
"symfony/http-client": "^7.0",
"symfony/validator": "^6.4 || ^7.0",
"symfony/serializer": "^6.4 || ^7.0",
"symfony/property-info": "^6.4 || ^7.0",
"symfony/http-client": "^6.4 || ^7.0",
"nyholm/psr7": "^1.8",
"symfony/property-access": "^7.0",
"symfony/property-access": "^6.4 || ^7.0",
"ramsey/uuid": "^4.7",
"vlucas/phpdotenv": "^5.6",
"guzzlehttp/guzzle": "^7.8",
"saloonphp/saloon": "^3.8",
"saloonphp/cache-plugin": "^3.0",
"league/flysystem": "^3.0",
"psr/container": "^2.0",
"symfony/yaml": "^7.0",
"symfony/yaml": "^6.4 || ^7.0",
"phpdocumentor/reflection-docblock": "^5.4",
"symfony/type-info": "^7.1",
"phpstan/phpdoc-parser": "^1.29",
Expand Down
Loading

0 comments on commit 31b182d

Please sign in to comment.