Skip to content

Commit

Permalink
Add setup-php to get 8.3 in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis Dent committed Nov 16, 2023
1 parent 719d216 commit a0afe81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
extensions: curl, json
coverage: xdebug
tools: php-cs-fixer, phpunit

- name: Validate composer.json and composer.lock
run: composer validate

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"issues": "http://github.com/tcdent/php-restclient/issues"
},
"require": {
"php": ">=8.2",
"php": ">=8.3",
"ext-curl": "*",
"ext-json": "*"
},
"require-dev": {
"php": ">=8.2",
"php": ">=8.3",
"phpunit/phpunit": ">=9.6"
},
"autoload": {
Expand Down

0 comments on commit a0afe81

Please sign in to comment.