Skip to content

Commit

Permalink
Merge pull request #20 from alecpl/dev/php81
Browse files Browse the repository at this point in the history
Support PHP 8.1
  • Loading branch information
jeremy379 authored Aug 1, 2024
2 parents aa0e5b4 + 5131ad9 commit 3b3580d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/php81.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Test

on:
pull_request:
branches:
- "*"
push:
branches:
- "*"

jobs:
checks:
name: Check PHP 8.1
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up PHP 8.1
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'

- name: Install Dependencies
run: composer install --prefer-dist --ignore-platform-reqs --no-interaction

- name: Check code styling
run: composer ecs-check

- name: Create keys
run: sh ./bin/create_keys

- name: Run unit and feature tests
run: composer test
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"passport"
],
"require": {
"php": "^8.2",
"php": "^8.1",
"lcobucci/jwt": "^4.0|^4.3|^5.0",
"league/oauth2-server": "^8.2.0",
"laravel/passport": "^11.0|^12.0",
Expand Down

0 comments on commit 3b3580d

Please sign in to comment.