From 149d4f7a97894308c09ff2b9afefd03733e52add Mon Sep 17 00:00:00 2001 From: Alessandro Minoccheri Date: Mon, 4 Jan 2021 11:58:29 +0100 Subject: [PATCH] using different images --- .circleci/config.yml | 0 .github/workflows/php.yml | 11 ++++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) mode change 100755 => 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 2c098c4..b59adb7 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -6,8 +6,13 @@ on: jobs: build: + + strategy: + matrix: + container: [ "php74", "php80" ] + runs-on: ubuntu-latest - container: pugx/poser:php80 + container: pugx/poser:${{ matrix.container }} steps: - uses: actions/checkout@v2 @@ -19,9 +24,9 @@ jobs: uses: actions/cache@v2 with: path: vendor - key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} + key: ${{ runner.os }}-php-${{ matrix.container }}-${{ hashFiles('**/composer.lock') }} restore-keys: | - ${{ runner.os }}-php- + ${{ runner.os }}-php-${{ matrix.container }} - name: Install dependencies run: composer install -n --no-progress --no-suggest