Skip to content

Release 5.3.0

Release 5.3.0 #25

Workflow file for this run

##################################################################################
#
# PhpUnit Extra Asserts
#
# @package MarcinOrlowski\PhpunitExtraAsserts
#
# @author Marcin Orlowski <mail (#) marcinOrlowski (.) com>
# @copyright 2019-2022 Marcin Orlowski
# @license http://www.opensource.org/licenses/mit-license.php MIT
# @link https://github.com/MarcinOrlowski/phpunit-extra-asserts
#
##################################################################################
name: "Static Analysis"
on:
push:
branches:
- "master"
pull_request:
branches:
- "master"
- "dev"
jobs:
check:
strategy:
# do not stop the workflow if single run failed
fail-fast: false
matrix:
# quotes are needed it is treated as a number and zero at decimal part is gone at runtime
php: ["8.0", "8.1"]
runs-on: ubuntu-latest
steps:
- name: "Checkout repository..."
uses: actions/checkout@v2
# https://github.com/marketplace/actions/composer-php-actions
- name: "Installing dependencies..."
uses: php-actions/composer@v6
with:
version: "latest"
php_version: "${{ matrix.php }}"
dev: yes
# https://github.com/marketplace/actions/phpstan-php-actions
- name: "Running PHPStan..."
uses: php-actions/phpstan@v3
with:
configuration: "phpstan.neon.dist"
php_version: "${{ matrix.php }}"
# memory_limit: "32M"