Skip to content

remove unused pkg

remove unused pkg #4

Workflow file for this run

name: build
on:
push:
branches:
- master
- main
jobs:
lint:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
extensions: zip, curl, xdebug
coverage: xdebug
- name: Update composer
run: composer selfupdate
- name: Install dependencies
run: composer install --prefer-dist --no-interaction
- name: Run static analysis
run: composer static-analysis
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
php: ['8.3', '8.2', '8.1', '8.0', '7.4']
name: PHP ${{ matrix.php }} - ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: zip, curl, xdebug
coverage: xdebug
- name: Update composer
run: composer selfupdate
- name: Install dependencies
run: composer update --prefer-dist --no-interaction
- name: Execute tests
run: composer test
env:
XDEBUG_MODE: coverage