Skip to content

Commit f985e0a

Browse files
authored
Merge pull request #2424 from WordPress/feature/ghactions-minor-tweaks
GH Actions: minor tweaks
2 parents eaa70fe + cdda1f2 commit f985e0a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: .github/workflows/quicktest.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
5858
- name: Lint PHP files against parse errors
5959
if: ${{ matrix.dependencies == 'stable' }}
60-
run: composer lint -- --checkstyle
60+
run: composer lint
6161

6262
- name: Run the unit tests without code coverage
6363
if: ${{ github.ref_name != 'develop' }}

Diff for: .github/workflows/unit-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
coverage: [false]
3333

3434
include:
35-
- php: '7.4'
35+
- php: '7.2'
3636
dependencies: 'stable'
3737
extensions: ':mbstring' # = Disable Mbstring.
3838
coverage: true # Make sure coverage is recorded for this too.
@@ -119,7 +119,7 @@ jobs:
119119
custom-cache-suffix: $(date -u "+%Y-%m")
120120

121121
- name: "Composer: downgrade PHPCS dependencies for tests (lowest)"
122-
if: ${{ ! startsWith( matrix.php, '8' ) && matrix.dependencies == 'lowest' }}
122+
if: ${{ matrix.dependencies == 'lowest' }}
123123
run: >
124124
composer update --prefer-lowest --no-scripts --no-interaction
125125
squizlabs/php_codesniffer

0 commit comments

Comments
 (0)