Add a Publish workflow.
This commit is contained in:
9
.github/workflows/php-code-quality.yml
vendored
9
.github/workflows/php-code-quality.yml
vendored
@@ -15,20 +15,25 @@ on:
|
||||
- 'phpunit.xml'
|
||||
# Allow manual triggering
|
||||
workflow_dispatch:
|
||||
# Allow other workflows (e.g. Publish) to invoke this one.
|
||||
workflow_call:
|
||||
|
||||
|
||||
env:
|
||||
fail-fast: true
|
||||
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
|
||||
jobs:
|
||||
phpstan:
|
||||
name: PHPStan
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set up PHP
|
||||
@@ -55,7 +60,7 @@ jobs:
|
||||
experimental: true
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Set up PHP ${{ matrix.php }}
|
||||
|
||||
Reference in New Issue
Block a user