Skip to content

Commit

Permalink
Bump GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
javer committed Apr 8, 2024
1 parent 7e47f08 commit 87a7999
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,34 @@ on:

jobs:
tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
php-version:
- '8.0'
- '8.1'
- '8.2'
- '8.3'
symfony-version:
- '5.3.*'
- '5.4.*'
- '6.0.*'
- '6.4.*'
- '7.0.*'
dependencies:
- 'lowest'
- 'highest'
remove-dependencies: [ '' ]
exclude:
- php-version: '8.0'
symfony-version: '6.4.*'
- php-version: '8.0'
symfony-version: '7.0.*'
- php-version: '8.1'
symfony-version: '7.0.*'

steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
Expand All @@ -51,7 +61,7 @@ jobs:
run: composer remove --no-update ${{ matrix.remove-dependencies }}

- name: "Install dependencies"
uses: ramsey/composer-install@1.3.0
uses: ramsey/composer-install@3.0.0
with:
dependency-versions: ${{ matrix.dependencies }}
env:
Expand All @@ -61,20 +71,20 @@ jobs:
run: composer test

coding-standard:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
name: Coding Standard
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
uses: "actions/checkout@v4"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
tools: flex
php-version: "8.0"
php-version: "8.3"

- name: "Install dependencies"
uses: ramsey/composer-install@1.3.0
uses: ramsey/composer-install@3.0.0

- name: "Check coding standard"
run: composer check-cs

0 comments on commit 87a7999

Please sign in to comment.