Skip to content

Commit

Permalink
Drop support for php 8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 19, 2024
1 parent 7046b85 commit 321cfa0
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: PHP Linting (Pint)

on: [push, pull_request]
on: [ push, pull_request, workflow_dispatch ]

jobs:
phplint:
Expand All @@ -9,6 +9,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
tools: composer:v2
coverage: none

- name: Composer Install
run: composer install --no-interaction

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
name: Pest Tests

on: [push, pull_request]
on: [ push, pull_request, workflow_dispatch ]

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
php: [8.1, 8.2]
os: [ ubuntu-latest ]
php: [ 8.2, 8.3 ]

name: PHP ${{ matrix.php }} - ${{ matrix.os }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: "Static Analysis"

on: [push, pull_request]
on: [ push, pull_request, workflow_dispatch ]

jobs:
types:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: ["8.1", "8.2"]
php: [ 8.2, 8.3 ]
name: PHP ${{ matrix.php }} - Static Analysis
steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion pint.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"braces": false,
"self_accessor": false,
"phpdoc_separation": false,
"Laravel/laravel_phpdoc_alignment": false,
"phpdoc_align": false,
"no_trailing_comma_in_singleline": false,
"phpdoc_trim_consecutive_blank_line_separation": true,
"blank_line_before_statement": {
Expand Down

0 comments on commit 321cfa0

Please sign in to comment.