From ec8b27591cb99852f34786d6e44e97c70fc9621e Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 17 Jan 2022 20:39:14 +0100 Subject: [PATCH] Update php.yml --- .github/workflows/php.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 4855bc9..8d3384d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -11,11 +11,11 @@ jobs: strategy: fail-fast: false matrix: - php-versions: ['7.4', '8.0', '8.1'] - laravel-versions: ['5.4.*', '5.5.*', '5.6.*', '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0'] + php-version: ['7.4', '8.0', '8.1'] + laravel-version: ['5.4.*', '5.5.*', '5.6.*', '5.7.*', '5.8.*', '^6.0', '^7.0', '^8.0'] + name: PHP ${{ matrix.php-version }} - Laravel ${{ matrix.laravel-version }} env: PHP_VERSION: ${{ matrix.php-versions }} - name: PHP ${{ matrix.php-versions }} steps: - name: Checkout uses: actions/checkout@v2 @@ -23,13 +23,13 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php-version }} env: runner: ubuntu-18.04 - name: Use appropiate Laravel version run: | - composer require "laravel/framework:${{ matrix.laravel-versions }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel-version }}" --no-interaction --no-update - name: Validate composer.json and composer.lock run: composer validate