From db2f1d0008e2779a726b9405efd9595cfa30bcd0 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 8 Oct 2020 17:29:46 +0200 Subject: [PATCH] Try using latest checkout --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8127220..34b15a6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,15 +9,15 @@ jobs: strategy: matrix: tag: ["amd64", "i386"] - php-versions: ["7.0", "7.1", "7.2", "7.3", "7.4"] - name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.tag }} + php: ["7.0", "7.1", "7.2", "7.3", "7.4"] + name: PHP ${{ matrix.php }} Test on ${{ matrix.tag }} steps: - - name: Setup PHP - # Inputs to manual.sh are in this order - php-versions, extensions, ini-values, coverage, tools - run: curl -sL https://setup-php.com/manual.sh | bash -s ${{ matrix.php }} "mbstring, intl, sockets" "memory_limit=-1" "xdebug" - - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.3 + + - name: Setup PHP + # Inputs to manual.sh are in this order - php, extensions, ini-values, coverage, tools + run: curl -sL https://setup-php.com/manual.sh | bash -s ${{ matrix.php }} "mbstring, intl, sockets" "memory_limit=-1" "xdebug" - name: Check environment run: | @@ -32,8 +32,8 @@ jobs: uses: actions/cache@v2 with: path: ${{ steps.composercache.outputs.dir }} - key: ${{ matrix.os }}-composer-${{ matrix.php-versions }}-${{ hashFiles('**/composer.lock') }} - restore-keys: ${{ matrix.os }}-composer-${{ matrix.php-versions }}- + key: ${{ matrix.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }} + restore-keys: ${{ matrix.os }}-composer-${{ matrix.php }}- - name: Install dependencies run: composer install --prefer-dist