From f01a0cf5d04285f00543ca9a88f9e8cd7c8acffa Mon Sep 17 00:00:00 2001 From: Raza Mehdi Date: Fri, 14 Aug 2020 21:48:31 +0500 Subject: [PATCH] Use specific php version. --- .github/workflows/gh-actions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gh-actions.yml b/.github/workflows/gh-actions.yml index b9746651..e2d12bd0 100644 --- a/.github/workflows/gh-actions.yml +++ b/.github/workflows/gh-actions.yml @@ -20,6 +20,8 @@ jobs: - name: Checkout uses: actions/checkout@v2 - name: Setup PHP, with composer and extensions + with: + php-version: ${{ matrix.php-versions }} uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php - name: Get composer cache directory id: composercache @@ -27,6 +29,7 @@ jobs: - name: Cache composer dependencies uses: actions/cache@v2 with: + php-version: ${{ matrix.php-versions }} path: ${{ steps.composercache.outputs.dir }} key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} restore-keys: ${{ runner.os }}-composer-