Releases: php-actions/phpstan
November 2024 patch release
v3 rolling release
This tag will always point to the latest v3 release.
Extra memory
A few larger PHP repositories have had out-of-memory failures with PHPStan, and this release increases the Github Action runner's memory availability to 4G.
v3.0.1
What's Changed
- README.md: Upgrade php-actions/composer and php-actions/phpstan by @cclauss in #9
- README: Add path to first example by @danmichaelo in #11
- Fix multiple paths by @g105b in #14
- [issues/6] fix copy&paste error by @Un1matr1x in #18
New Contributors
- @cclauss made their first contribution in #9
- @danmichaelo made their first contribution in #11
- @g105b made their first contribution in #14
- @Un1matr1x made their first contribution in #18
Full Changelog: v3...v3.0.1
v3.0.0
php-build
has been updated to allow different versions of PHPStan/PHP to be built separately, meaning faster builds for your projects.- The host environment variables within Github Actions are passed to the Docker container. This Action runs as a Composite Runner, so the actual tests are ran within a custom Docker image, supplied by php-build.
- When a build fails, all debug output is shown within the action's output, but is grouped within a "debug output" summary. This means that whether your build passes or fails, you'll still see the Composer output in the format you'd expect, but you are now only one click away from viewing all the commands Github Actions ran to get the build running, in case there is a configuration issue to debug. This is shown as the last line of the output, as a clickable summary group that expands to show the full detail.
From now on, minor version releases will be made using semantic versioning, with the major version being retagged on the non-specific version tag. For example, the release of v3.0.0 will be tagged as both v3.0.0 and v3 - when a minor version is released, a new tag of v3.1.0 will be created, and the v3 tag will be retagged to point to the latest release within the major release of 3.x. This gives developers the choice of whether to keep up to date with all v3 developments, or fix their builds to a specific version of this action.
As always, have fun and stay productive!
If you've found this action helpful, please consider sponsoring the developer.
Speed improvements and self-owned packages
This release of php-actions/phpstan has tackled speed issues associated with previous versions, while maintaining (and enhancing) the configuration possibilities - you can still choose between PHP version and PHPStan version, but now you can also choose which PHP extensions are installed for your test runs, making the test runner extremely minimal with only the baseline required components.
Please note, to achieve the build speeds and configuration possibilities, the custom Docker image is pushed to the repository that calls the action. This means that your user or organisation will list the package on the page at https://github.com/{organisation}/packages. This shouldn't have any effect on things, but it's worth knowing about.
Public release (v1)
Disable interactive terminal