Releases: NxtLvLSoftware/setup-phpstan-action
Releases · NxtLvLSoftware/setup-phpstan-action
v1.0.2
Fix potential problems with GitHub authentication & remove non-essential files from the release build that aren't required for the action to run.
v1.0.1
Include all files output by https://github.com/vercel/ncc builds in dist.
v1.0.0
GitHub action for installing PHPStan in actions workflows.
- Allows passing version string and installing from github releases into path/env.
- Allows passing existing executable path and installing into path/env.
- Supports caching for version string and existing binary installations.
Either version
or path
must be specified.
How to use
Attempt to download any PHPStan release by providing the version:
name: My PHPStan Workflow
on: [push]
jobs:
setup-phpstan:
name: Setup PHPStan
runs-on: ubuntu-latest
steps:
- uses: nxtlvlsoftware/setup-phpstan-action@v1
with:
version: '1.8.2'
install-path: './bin'
Or provide the path to an existing PHPStan installation/binary:
name: My PHPStan Workflow
on: [push]
jobs:
setup-phpstan:
name: Setup PHPStan
runs-on: ubuntu-latest
steps:
- uses: nxtlvlsoftware/setup-phpstan-action@v1
with:
path: 'path/to/your/phpstan.phar'
install-path: './bin'
License
nxtlvlsoftware/setup-phpstan-action
is open-sourced software licensed under the MIT license.