Skip to content

Commit

Permalink
Merge pull request #7 from cspray/task/update-at-1.1
Browse files Browse the repository at this point in the history
Use annotated target 1.1
  • Loading branch information
cspray authored Jun 3, 2024
2 parents 972339d + fab9bbd commit 6b10529
Show file tree
Hide file tree
Showing 6 changed files with 361 additions and 338 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,19 @@ jobs:
XDEBUG_MODE: coverage

steps:
- uses: actions/checkout@v3
- name: Composer
uses: php-actions/composer@v6
- name: Tests
uses: php-actions/phpunit@v3
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php_extensions: "xdebug"
coverage_html: "coverage/web"
coverage_text: true
- name: Static Analysis
run: "vendor/bin/psalm"
php-version: 8.1
tools: composer:2
- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Composer Install
run: composer install
- name: PHPUnit
run: ./vendor/bin/phpunit
- name: Psalm
run: ./vendor/bin/psalm
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@
"require": {
"php": "^8.1",
"ext-dom": "*",
"cspray/annotated-target": "^0.3"
"cspray/annotated-target": "^1.1"
},
"require-dev": {
"cspray/phinal": "^2.0",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^10.1",
"symfony/console": "^6.4",
"symfony/filesystem": "^6.4",
"symfony/string": "^6.4",
"vimeo/psalm": "^5.11"
}
}
Loading

0 comments on commit 6b10529

Please sign in to comment.