Add .gitea/workflows/quality.yml
This commit is contained in:
commit
3b7eb7c8e2
35
.gitea/workflows/quality.yml
Normal file
35
.gitea/workflows/quality.yml
Normal file
@ -0,0 +1,35 @@
|
||||
on:
|
||||
workflow_call:
|
||||
secrets:
|
||||
username:
|
||||
required: false
|
||||
type: string
|
||||
default: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password:
|
||||
required: false
|
||||
type: string
|
||||
default: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-24.04
|
||||
container:
|
||||
image: git.qlic.nl/qlic/quality:latest
|
||||
credentials:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Install dependencies
|
||||
run: composer install
|
||||
|
||||
- name: Run PHPStan
|
||||
run: ./vendor/bin/phpstan analyse
|
||||
|
||||
- name: Run php cs fixer
|
||||
run: ./vendor/bin/php-cs-fixer fix --diff --dry-run
|
||||
|
||||
- name: Run audit
|
||||
run: composer audit
|
Loading…
x
Reference in New Issue
Block a user