Skip to content

Fix actions running twice #445

Fix actions running twice

Fix actions running twice #445

Workflow file for this run

name: PHPStan
on:
push:
branches:
- master
pull_request:
jobs:
phpstan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.ref }}
- name: Create Vendor Directory
run: mkdir vendor
- name: Download Virion Dependencies
run: |
wget -O vendor/libFormAPI.phar https://poggit.pmmp.io/r/207248/libFormAPI_dev-4.phar
wget -O vendor/Commando.phar https://poggit.pmmp.io/r/162923/Commando_dev-30.phar
wget -O vendor/libPiggyUpdateChecker.phar https://poggit.pmmp.io/r/163495/libPiggyUpdateChecker_dev-1.phar
- name: Run PHPStan
uses: paroxity/pmmp-phpstan-action@4.21.0
with:
phpstan-config: phpstan.neon.dist