Skip to content

Commit

Permalink
Update GitHub actions, fix NPMv16 deprecation
Browse files Browse the repository at this point in the history
Update to use latest v4 for:
- actions/checkout → solves NPMv16 deprecation
- actions/cache

Use latest Ubuntu, upgrade from ubuntu-20.04
  • Loading branch information
thePanz committed Oct 30, 2024
1 parent 571de55 commit 0ebb9b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 0ebb9b5

Please sign in to comment.