diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 6b7aa35..30f46d4 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -38,13 +38,7 @@ jobs: php-version: '7.4' - name: Checkout - uses: actions/checkout@v2.0.0 - - - name: Cache dependencies - uses: actions/cache@v2 - with: - path: vendor - key: php-${{ hashFiles('composer.lock') }} + uses: actions/checkout@v5 - name: Install dependencies run: composer install @@ -58,7 +52,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - presta-versions: ['1.7.6', '1.7.7', '1.7.8', 'latest'] + presta-versions: ['1.7.6', '1.7.7', '1.7.8', '8.2'] steps: - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -66,21 +60,7 @@ jobs: php-version: '7.4' - name: Checkout - uses: actions/checkout@v2.0.0 - - # Add vendor folder in cache to make next builds faster - - name: Cache vendor folder - uses: actions/cache@v1 - with: - path: vendor - key: php-${{ hashFiles('composer.lock') }} - - # Add composer local folder in cache to make next builds faster - - name: Cache composer folder - uses: actions/cache@v1 - with: - path: ~/.composer/cache - key: php-composer-cache + uses: actions/checkout@v5 - run: composer install diff --git a/tests/phpstan/phpstan-latest.neon b/tests/phpstan/phpstan-8.2.neon similarity index 100% rename from tests/phpstan/phpstan-latest.neon rename to tests/phpstan/phpstan-8.2.neon