Skip to content

Set up the GitHub Actions #1

Set up the GitHub Actions

Set up the GitHub Actions #1

Workflow file for this run

name: deptrac
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
deptrac:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup PHP 8.2
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
- name: Install Composer dependencies
run: composer update --no-interaction --prefer-dist
- name: Run tests via PHPStan
run: composer deptrac