Compare commits
2 Commits
main
...
feature/co
Author | SHA1 | Date | |
---|---|---|---|
5ab8083cfb | |||
e399e3a289 |
@ -1,10 +1,6 @@
|
|||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
inputs:
|
inputs:
|
||||||
image:
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: git.qlic.nl/qlic/quality:php8.3
|
|
||||||
username:
|
username:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
@ -26,11 +22,17 @@ jobs:
|
|||||||
quality:
|
quality:
|
||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
container:
|
container:
|
||||||
image: ${{ inputs.image }}
|
image: git.qlic.nl/qlic/quality:latest
|
||||||
credentials:
|
credentials:
|
||||||
username: ${{ inputs.username }}
|
username: ${{ inputs.username }}
|
||||||
password: ${{ inputs.password }}
|
password: ${{ inputs.password }}
|
||||||
steps:
|
steps:
|
||||||
|
- name: Setup composer authentication
|
||||||
|
run: |
|
||||||
|
if [ -f ${{ secrets.COMPOSER_AUTH_JSON }} ]
|
||||||
|
cp ${{ secrets.COMPOSER_AUTH_JSON }} ~/.composer/auth.json
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup composer
|
- name: Setup composer
|
||||||
uses: https://git.qlic.nl/actions/setup-composer@v1
|
uses: https://git.qlic.nl/actions/setup-composer@v1
|
||||||
with:
|
with:
|
||||||
@ -59,6 +61,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Run php cs fixer
|
- name: Run php cs fixer
|
||||||
run: ./vendor/bin/php-cs-fixer fix --diff --dry-run
|
run: ./vendor/bin/php-cs-fixer fix --diff --dry-run
|
||||||
|
|
||||||
- name: Run audit
|
- name: Run audit
|
||||||
run: composer audit
|
run: composer audit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user