Spiral Framework GitHub Actions
General usage
This package allows us to reuse GitHub actions, which simplifies version management.
PHPUnit
Example of use of the actionon:
push:
branches:
- master
- '*.*'
pull_request: null
name: phpunit
jobs:
phpunit:
uses: spiral/gh-actions/.github/workflows/phpunit.yml@master
with:
# coverage: pcov / coverage: xdebug / coverage: xdebug2 / coverage: none
# extensions: pdo, pdo_pgsql
os: >-
['ubuntu-latest']
php: >-
['8.1']
#tools: composer:v2
PSALM
Example of use of the actionon:
push:
branches:
- master
- '*.*'
pull_request: null
name: static analysis
jobs:
psalm:
uses: spiral/gh-actions/.github/workflows/psalm.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.1']
Coding standarts
Example of use of the actionon:
push:
branches:
- master
- '*.*'
pull_request: null
name: coding standards
jobs:
coding-standards:
uses: spiral/gh-actions/.github/workflows/cs.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.1']
License:
MIT License (MIT). Please see LICENSE
for more information. Maintained by Spiral Scout.