Skip to content

Commit

Permalink
improve CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Oct 8, 2024
1 parent c269925 commit 5291806
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
strategy:
max-parallel: 10
matrix:
php: [ '8.0', '8.1', '8.2']
sf_version: [ '5.4.*', '6.4.*', '7.0.*' ]
php: [ '8.0', '8.1', '8.2', '8.3']
sf_version: [ '5.4.*', '6.4.*', '7.*' ]
include:
- php: 7.2
sf_version: '5.4.*'
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: Static analysis
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -13,9 +13,9 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none
tools: phpstan:1.5.3, cs2pr
tools: phpstan:1.12, cs2pr

- name: Download dependencies
uses: ramsey/composer-install@v1
Expand All @@ -25,7 +25,7 @@ jobs:

php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Checkout code
Expand All @@ -34,26 +34,26 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none
tools: php-cs-fixer:3.8.0, cs2pr
tools: php-cs-fixer:3.64, cs2pr

- name: PHP-CS-Fixer
run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr

psalm:
name: Psalm
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
php-version: 8.3
coverage: none
tools: vimeo/psalm:4.22.0
tools: vimeo/psalm:5.26

- name: Download dependencies
uses: ramsey/composer-install@v1
Expand All @@ -63,13 +63,13 @@ jobs:

composer-normalize:
name: Composer Normalize
runs-on: ubuntu-20.04
runs-on: ubuntu-latest

steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
php-version: 8.3
coverage: none
tools: composer-normalize

Expand Down

0 comments on commit 5291806

Please sign in to comment.