From 0ebb9b5b8de20df3a952c429a20f0cac4646fa96 Mon Sep 17 00:00:00 2001 From: Emanuele Panzeri Date: Wed, 30 Oct 2024 23:26:33 +0100 Subject: [PATCH] Update GitHub actions, fix NPMv16 deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update to use latest v4 for: - actions/checkout → solves NPMv16 deprecation - actions/cache Use latest Ubuntu, upgrade from ubuntu-20.04 --- .github/workflows/code_checks.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/code_checks.yaml b/.github/workflows/code_checks.yaml index 2c82bf4..08314ec 100644 --- a/.github/workflows/code_checks.yaml +++ b/.github/workflows/code_checks.yaml @@ -6,10 +6,10 @@ on: ["push", "pull_request"] jobs: js-tests: name: "JS Tests" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install JS dependencies run: | @@ -20,7 +20,7 @@ jobs: cd Resources && npm run test phpunit: name: "PHP ${{ matrix.php }} + ${{ matrix.dependencies }} dependencies + Symfony ${{ matrix.symfony }}" - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -61,7 +61,7 @@ jobs: symfony: '7.0.*' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -81,7 +81,7 @@ jobs: dependency-versions: ${{ matrix.dependencies }} - name: Cache PHPUnit - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: vendor/bin/.phpunit key: ${{ runner.os }}-phpunit-${{ matrix.php }}