Skip to content

Commit 2a0e774

Browse files
authored
Merge pull request #72 from rdohms/feature/ghactions-minor-tweaks
GH Actions: minor tweaks
2 parents 24a52e7 + 89c901b commit 2a0e774

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/check-cs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ jobs:
4040
composer update --prefer-dist --no-suggest --no-progress --no-interaction
4141
4242
- name: Check Code Style
43+
id: phpcs
4344
run: vendor/bin/phpcs --report-full --report-checkstyle=./phpcs-report.xml
4445

4546
- name: Show PHPCS results in PR
47+
if: ${{ always() && steps.phpcs.outcome == 'failure' }}
4648
run: cs2pr ./phpcs-report.xml

.github/workflows/run-tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- name: Install dependencies - ignore platform reqs
9090
if: ${{ matrix.php >= 8.3 }}
9191
run: |
92-
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-reqs --no-interaction
92+
composer update --${{ matrix.dependency-version }} --prefer-dist --no-progress --ignore-platform-req=php+ --no-interaction
9393
9494
- name: Execute Unit Tests
9595
run: vendor/bin/phpunit

0 commit comments

Comments
 (0)