Skip to content

Bump webpack-cli from 6.0.1 to 7.0.3 #1782

Bump webpack-cli from 6.0.1 to 7.0.3

Bump webpack-cli from 6.0.1 to 7.0.3 #1782

Workflow file for this run

name: phpunit
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [8.3, 8.4, 8.5]
stability: [prefer-lowest, prefer-stable]
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: setup php
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: xdebug
- name: setup problem matchers
env:
RUNNER_TOOL_CACHE: ${{ runner.tool_cache }}
run: |
echo "::add-matcher::${RUNNER_TOOL_CACHE}/php.json"
echo "::add-matcher::${RUNNER_TOOL_CACHE}/phpunit.json"
- name: determine composer cache directory
id: composer-cache
run: "echo \"directory=$(composer config cache-dir)\" >> $GITHUB_OUTPUT"
- name: cache dependencies installed with composer
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ${{ steps.composer-cache.outputs.directory }}
key: php-${{ matrix.php-version }}-${{ matrix.stability }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ matrix.php }}-${{ matrix.stability }}-composer
- env:
COMPOSER_STABILITY: ${{ matrix.stability }}
run: composer update "--${COMPOSER_STABILITY}" --prefer-dist --no-interaction
- run: composer run test