Skip to content

Commit

Permalink
ci: update to use stable dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke committed Jan 20, 2021
1 parent e2bf0de commit 59a6946
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/tests.yml
Expand Up @@ -33,21 +33,16 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
tools: composer:v2
tools: composer
coverage: none

- name: Setup Problem Matches
run: |
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Install PHP 7 dependencies
- name: Install PHP dependencies
run: composer update --${{ matrix.dependency-version }} --no-interaction --no-progress --ansi
if: "matrix.php < 8"

- name: Install PHP 8 dependencies
run: composer update --${{ matrix.dependency-version }} --ignore-platform-req=php --no-interaction --no-progress --ansi
if: "matrix.php >= 8"

- name: Unit Tests
continue-on-error: ${{ matrix.prerelease }}
Expand Down

0 comments on commit 59a6946

Please sign in to comment.