This package allows us to reuse GitHub actions, which simplifies version management.
Example of use of the action PHPUnit
on:
push:
branches:
- master
- '*.*'
pull_request: null
name: phpunit
jobs:
phpunit:
uses: buggregator/gh-actions/.github/workflows/phpunit.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.3']
Example of use of the action PSALM
on:
push:
branches:
- master
- '*.*'
pull_request: null
name: static analysis
jobs:
psalm:
uses: buggregator/gh-actions/.github/workflows/psalm.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.3']
on:
push:
branches:
- master
- '*.*'
pull_request: null
name: coding standards
jobs:
coding-standards:
uses: buggregator/gh-actions/.github/workflows/cs.yml@master
with:
os: >-
['ubuntu-latest']
php: >-
['8.3']