From f219777278671df718388d0e44076cd79020481b Mon Sep 17 00:00:00 2001 From: Cesar Date: Fri, 5 Sep 2025 06:53:49 +0200 Subject: [PATCH] update actions --- .github/workflows/phpstan.yml | 14 ++------------ .github/workflows/tests.yml | 4 ++-- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index e2bee6a..76778fd 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -12,24 +12,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: 8.1 - - - name: Cache Composer packages - id: composer-cache - uses: actions/cache@v4 - with: - path: vendor - key: ${{ runner.os }}-php81-${{ hashFiles('**/composer.lock') }} - restore-keys: | - ${{ runner.os }}-php81- + php-version: 8.3 - name: Install dependencies - if: steps.composer-cache.outputs.cache-hit != 'true' run: | composer install composer dump diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b8b0b5e..8eb6d41 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,13 +8,13 @@ jobs: strategy: fail-fast: false matrix: - php: [8.4, 8.3, 8.2, 8.1, 8.0] + php: [8.5, 8.4, 8.3, 8.2] name: P${{ matrix.php }} steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Setup PHP uses: shivammathur/setup-php@v2