Skip to content

Setup GitHub Actions #1

Setup GitHub Actions

Setup GitHub Actions #1

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
- name: Install Composer packages
uses: ramsey/composer-install@v3
- name: Run PHPStan
run: vendor/bin/phpstan --ansi