From 3f012fea9d9806c528d789171f338a9db2207939 Mon Sep 17 00:00:00 2001 From: Denis Averin Date: Fri, 10 Apr 2026 18:52:36 +0700 Subject: [PATCH] Update GitHub Actions to Node 24 compatible versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub is deprecating Node 20 on Actions runners (EOL April 2026). Updated actions to their latest major versions with Node 24 support: - actions/checkout v4 → v6 - actions/cache v3 → v5 --- .github/workflows/check-badges.yml | 2 +- .github/workflows/php-versions.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-badges.yml b/.github/workflows/check-badges.yml index d673011..8469a05 100644 --- a/.github/workflows/check-badges.yml +++ b/.github/workflows/check-badges.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Check badges in README.md run: ./scripts/check-badges.bash "README.md" diff --git a/.github/workflows/php-versions.yml b/.github/workflows/php-versions.yml index 107745c..cfa18b1 100644 --- a/.github/workflows/php-versions.yml +++ b/.github/workflows/php-versions.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Validate composer.json and composer.lock run: composer validate - name: Cache Composer packages id: composer-cache - uses: actions/cache@v3 + uses: actions/cache@v5 with: path: vendor key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }} @@ -50,7 +50,7 @@ jobs: name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6 - name: Install PHP uses: shivammathur/setup-php@v2 with: