Skip to content

Commit

Permalink
Merge pull request #436 from StudioMaX/gh-actions
Browse files Browse the repository at this point in the history
Update deprecated actions/checkout; lint against PHP 8.4
  • Loading branch information
JamesHeinrich authored Feb 1, 2024
2 parents 3bcea90 + 86e78ed commit c9271a6
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
lint:
name: "Lint"
runs-on: "ubuntu-latest"
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
Expand All @@ -23,22 +24,30 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
experimental:
- false
include:
- php-version: "8.4"
experimental: true
composer-options: "--ignore-platform-reqs"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
ini-values: error_reporting=-1, display_errors=On
coverage: "none"
- uses: "ramsey/composer-install@v2"
with:
composer-options: "${{ matrix.composer-options }}"
- name: "Run the linter"
run: "composer lint -- --colors"

static-analysis:
name: "Static Analysis"
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
- uses: "shivammathur/setup-php@v2"
with:
php-version: "7.4"
Expand Down

0 comments on commit c9271a6

Please sign in to comment.