Skip to content

ci: change action for GitHub release #3

ci: change action for GitHub release

ci: change action for GitHub release #3

Workflow file for this run

name: Run tests
on:
push:
branches:
- "**"
pull_request:
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
tools: composer:v2
coverage: xdebug
- name: Install Dependencies
run: composer install --prefer-dist --no-progress
- name: Run PHP CodeSniffer
run: vendor/bin/phpcs
- name: Run PHPStan
run: vendor/bin/phpstan analyse
- name: Run PHPUnit
run: vendor/bin/phpunit