Skip to content

Commit

Permalink
Updated continuous-integration.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vudaltsov committed Jan 31, 2024
1 parent c78e508 commit a29f6f8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Continuous Integration
on:
pull_request: ~
push:
branches: ['*.x']
branches: ['main', '*.x']

jobs:
composer-validate:
Expand All @@ -12,7 +12,7 @@ jobs:
matrix:
php: [8.1]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand All @@ -26,7 +26,7 @@ jobs:
matrix:
php: [8.1]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand All @@ -43,7 +43,7 @@ jobs:
matrix:
php: [8.1]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand All @@ -52,15 +52,15 @@ jobs:
- uses: ramsey/composer-install@v2
with:
composer-options: --optimize-autoloader
- run: composer fixcs -- --dry-run --diff --format=checkstyle --ansi | cs2pr
- run: composer fixcs -- --dry-run --format=checkstyle --ansi | cs2pr

psalm:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2]
php: [8.1, 8.2, 8.3]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand All @@ -75,13 +75,14 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2]
php: [8.1, 8.2, 8.3]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
coverage: none
- uses: ramsey/composer-install@v2
with:
composer-options: --optimize-autoloader
Expand All @@ -91,9 +92,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php: [8.1, 8.2]
php: [8.1]
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
Expand Down
2 changes: 1 addition & 1 deletion infection.json5.dist
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"NullSafeMethodCall": false,
"NullSafePropertyCall": false
},
"minCoveredMsi": 95
"minCoveredMsi": 80
}

0 comments on commit a29f6f8

Please sign in to comment.