Skip to content

Commit

Permalink
Merge pull request #177 from stof/update_ci
Browse files Browse the repository at this point in the history
Update the CI setup
  • Loading branch information
stof committed Nov 29, 2023
2 parents 4a6f37a + 6e52b75 commit 2d9f3c0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Check composer.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
Expand All @@ -25,7 +25,7 @@ jobs:
name: Static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
coverage: none
Expand All @@ -36,32 +36,32 @@ jobs:

tests:
name: Tests on PHP ${{ matrix.php }} with ${{ matrix.implementation }}${{ matrix.name_suffix }}
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
strategy:
matrix:
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2' ]
php: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
minimum_stability: [ 'stable' ]
name_suffix: [ '' ]
implementation: [ 'http_kernel' ]
include:
- php: '8.0'
- php: '8.2'
minimum_stability: dev
implementation: 'http_kernel'
name_suffix: ' and dev deps'
- php: '7.4'
- php: '8.2'
implementation: http_client
- php: '8.2'
minimum_stability: dev
implementation: 'http_kernel'
implementation: 'http_client'
name_suffix: ' and dev deps'
- php: '8.0'
implementation: http_client
fail-fast: false

env:
MATRIX_PHP: ${{ matrix.php }}

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 2

Expand Down

0 comments on commit 2d9f3c0

Please sign in to comment.