Skip to content

Commit

Permalink
Merge pull request wp-cli#104 from jrfnl/feature/ghactions-testing-si…
Browse files Browse the repository at this point in the history
…mplify

GH Actions/reusable-testing: remove redundant step
  • Loading branch information
swissspidy authored Sep 17, 2024
2 parents f6e8d8e + 553aef6 commit 2fc4bbd
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/reusable-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,19 +222,7 @@ jobs:
- name: Check out source code
uses: actions/checkout@v4

- name: Set up PHP environment (PHP 5.6 - 7.1)
if: ${{ matrix.php < '7.2' }}
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php }}'
coverage: none
tools: composer:2.2,cs2pr
env:
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Set up PHP environment (PHP 7.2+)
if: ${{ matrix.php >= '7.2' }}
- name: Set up PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: '${{ matrix.php }}'
Expand Down

0 comments on commit 2fc4bbd

Please sign in to comment.