Try using latest checkout

This commit is contained in:
Daniil Gentili 2020-10-08 17:29:46 +02:00
parent 3b2d661b22
commit db2f1d0008
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -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