Skip to content

Commit

Permalink
claim PHP 8.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
someniatko committed May 2, 2023
1 parent a3147f9 commit 430af0b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: [ push, pull_request ]
jobs:
test:
test-74:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
Expand All @@ -20,3 +20,16 @@ jobs:
- name: psalm static analysis
run: php vendor/bin/psalm

test-82:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: none
- run: composer install -o

- name: unit tests
run: php vendor/bin/phpunit
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"license": "MIT",
"description": "Functional-ish generic Result type: either Success or Error",
"require": {
"php": "7.4.* || 8.0.* || 8.1.*"
"php": "7.4.* || 8.0.* || 8.1.* || 8.2.*"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
Expand Down

0 comments on commit 430af0b

Please sign in to comment.