Skip to content

Commit

Permalink
Update dependencies (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
misantron authored Oct 7, 2024
1 parent da15151 commit 23e3bf8
Show file tree
Hide file tree
Showing 5 changed files with 314 additions and 285 deletions.
24 changes: 20 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
composer-options: --no-ansi --no-interaction --no-progress
- name: Run ecs check
run: vendor/bin/ecs check
static-analysis:
name: Static Analysis
phpstan:
name: PHPStan
runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -37,9 +37,25 @@ jobs:
with:
dependency-versions: locked
composer-options: --no-ansi --no-interaction --no-progress
- name: Run PHPStan analyse
- name: Run analyse
run: vendor/bin/phpstan analyse --memory-limit 2G
- name: Run Psalm analyse
psalm:
name: Psalm
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
- name: Install composer dependencies
uses: ramsey/composer-install@v3
with:
dependency-versions: locked
composer-options: --no-ansi --no-interaction --no-progress
- name: Run analyse
run: vendor/bin/psalm
test:
name: Tests
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
IMAGE_NAME := amazon/dynamodb-local:2.2.1
IMAGE_NAME := amazon/dynamodb-local:2.5.2

.PHONY: initialize
initialize: start-docker
Expand Down Expand Up @@ -31,4 +31,4 @@ static-analyze: phpstan psalm
phpstan:
vendor/bin/phpstan analyse --memory-limit 2G
psalm:
vendor/bin/psalm
vendor/bin/psalm --threads=1
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
},
"require-dev": {
"async-aws/dynamo-db": "^3.2",
"aws/aws-sdk-php": "3.316.4",
"aws/aws-sdk-php": "3.323.1",
"fakerphp/faker": "^1.23",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-deprecation-rules": "^1.2",
"phpstan/phpstan-phpunit": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^10.5 || ^11.0",
"symfony/error-handler": "^5.4 || ^6.4 || ^7.0",
"symplify/easy-coding-standard": "^12.3",
"vimeo/psalm": "^5.25"
"vimeo/psalm": "^5.26"
},
"suggest": {
"async-aws/dynamo-db": "Async first DynamoDb client from Symfony Core developers",
Expand Down
Loading

0 comments on commit 23e3bf8

Please sign in to comment.