Bump org.apache.maven.plugins:maven-compiler-plugin from 3.11.0 to 3.13.0 #174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHPStan | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
phpstan: | |
if: "!contains(github.event.head_commit.message, '[ci skip]')" | |
name: PHPStan Analysis | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: robinraju/[email protected] | |
with: | |
repository: "pmmp/PHP-Binaries" | |
tag: "php-8.0-latest" | |
fileName: "PHP-Linux-x86_64-PM4.tar.gz" | |
- name: Prepare PHP | |
run: | | |
tar -xvzf PHP-Linux-x86_64-PM4.tar.gz -C ./.github/ | |
rm -r PHP-Linux-x86_64-PM4.tar.gz | |
- uses: robinraju/[email protected] | |
with: | |
repository: "pmmp/PocketMine-MP" | |
tag: "4.17.0" | |
fileName: "PocketMine-MP.phar" | |
- name: Add PMMP | |
run: | | |
mkdir vendor | |
mv PocketMine-MP.phar ./vendor/ | |
- name: PHPStan analysis | |
run: | | |
wget https://getcomposer.org/download/latest-stable/composer.phar | |
./.github/bin/php7/bin/php composer.phar install --dev --prefer-dist --no-interaction | |
./.github/bin/php7/bin/php vendor/bin/phpstan.phar analyze |