Skip to content

Commit

Permalink
Use PHP 8.3 on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nbayramberdiyev committed Dec 1, 2024
1 parent 5ae5512 commit cc9c117
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
branches:
- main

env:
PHP_VERSION: 8.3

# Cancels all previous workflow runs for the same branch that have not yet completed.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -23,7 +26,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: latest
php-version: ${{ env.PHP_VERSION }}
coverage: none

- name: Install dependencies
Expand All @@ -42,7 +45,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: latest
php-version: ${{ env.PHP_VERSION }}
coverage: none

- name: Install dependencies
Expand All @@ -55,13 +58,12 @@ jobs:
run: composer analyse:psalm

unit-tests:
name: Unit Tests (PHP ${{ matrix.php-version }}) on ${{ matrix.os }}
name: Unit Tests on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
php-version: [8.3]
os: [ubuntu-latest, macos-latest, windows-latest]
dependencies: [lowest, highest]

Expand All @@ -72,7 +74,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
php-version: ${{ env.PHP_VERSION }}
coverage: none

- name: Install dependencies
Expand Down

0 comments on commit cc9c117

Please sign in to comment.