Skip to content

Commit

Permalink
add PHP 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mimmi20 committed Sep 19, 2023
1 parent f465afa commit db3fd0e
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 14 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/analytics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ on:
required: true
type: boolean

permissions:
contents: read

jobs:
php-cs-fixer:
name: "Check Coding Standards with PHP-CS-Fixer"
Expand All @@ -36,7 +39,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -89,7 +92,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -140,7 +143,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -191,7 +194,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -242,7 +245,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cleanup-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
cleanup:
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-22.04"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ permissions:

jobs:
dependency-review:
runs-on: "ubuntu-latest"
runs-on: "ubuntu-22.04"

steps:
- name: "Checkout"
uses: "actions/checkout@v4"
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,16 @@ on:
type: string
default: ""

permissions:
contents: read

jobs:
install:
name: "Install dependencies"

runs-on: "${{ matrix.operating-system }}"
timeout-minutes: 10
continue-on-error: ${{ '8.3' == matrix.php-version }}
continue-on-error: ${{ '8.3' == matrix.php-version || '8.4' == matrix.php-version }}

strategy:
fail-fast: false
Expand All @@ -38,6 +41,7 @@ jobs:
- "8.1"
- "8.2"
- "8.3"
- "8.4"

dependencies:
- "highest"
Expand Down Expand Up @@ -66,14 +70,14 @@ jobs:
phpts: "nts"

- name: "Update dependencies with composer"
if: ${{ '8.3' != matrix.php-version }}
if: ${{ '8.3' != matrix.php-version && '8.4' != matrix.php-version }}
uses: "ramsey/composer-install@2.2.0"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ inputs.composer-options }}"

- name: "Update dependencies with composer"
if: ${{ '8.3' == matrix.php-version }}
if: ${{ '8.3' == matrix.php-version || '8.4' == matrix.php-version }}
uses: "ramsey/composer-install@2.2.0"
with:
dependency-versions: "${{ matrix.dependencies }}"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lock-closed-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
jobs:
lock:
runs-on: "ubuntu-22.04"

steps:
- uses: "Dunning-Kruger/lock-issues@v1.1"
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/reactions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ permissions:
jobs:
action:
runs-on: "ubuntu-22.04"

steps:
- uses: "dessant/reaction-comments@v3"
with:
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
required: true
type: boolean

permissions:
contents: read

jobs:
validate-composer:
name: "Validate composer"
Expand All @@ -30,7 +33,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -73,7 +76,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

steps:
- name: "Checkout"
Expand Down Expand Up @@ -101,7 +104,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down Expand Up @@ -146,7 +149,7 @@ jobs:

matrix:
operating-system:
- "ubuntu-20.04"
- "ubuntu-22.04"

php-version:
# Should use the lowest supported version
Expand Down

0 comments on commit db3fd0e

Please sign in to comment.