From 261ba745b441227026edfd9c8772962876722014 Mon Sep 17 00:00:00 2001 From: Thomas Nabord Date: Fri, 31 Oct 2025 15:57:21 +0000 Subject: [PATCH] Bump version of actions in CI --- .github/workflows/php.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index c19bfb3..6912ea8 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2.0.0 + uses: actions/checkout@v5 - name: PHP syntax checker 5.6 uses: prestashop/github-action-php-lint/5.6@master @@ -39,13 +39,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,6 +52,7 @@ jobs: name: PHPStan runs-on: ubuntu-latest strategy: + fail-fast: false matrix: presta-versions: ['1.7.6', '1.7.7', '1.7.8', 'latest'] steps: @@ -67,21 +62,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