Skip to content

Another attempt to get github phpstan action to work. #517

Another attempt to get github phpstan action to work.

Another attempt to get github phpstan action to work. #517

Workflow file for this run

name: PHPStan for OpenLab custom files
on:
push:
paths:
- '**.php'
- '**.yml'
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- name: Clear Composer Cache
run: composer clear-cache
- name: Install Composer dependencies
run: composer install --no-interaction
- name: PHPStan Static Analysis
run: vendor/bin/phpstan --memory-limit=1G --error-format=github