Compare commits
4 Commits
feature/co
...
main
Author | SHA1 | Date | |
---|---|---|---|
ff2e5816b0 | |||
ce508a66d5 | |||
74bc98d49d | |||
d459669371 |
@ -1,6 +1,10 @@
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
image:
|
||||
required: false
|
||||
type: string
|
||||
default: git.qlic.nl/qlic/quality:php8.3
|
||||
username:
|
||||
required: false
|
||||
type: string
|
||||
@ -22,17 +26,11 @@ jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-24.04
|
||||
container:
|
||||
image: git.qlic.nl/qlic/quality:latest
|
||||
image: ${{ inputs.image }}
|
||||
credentials:
|
||||
username: ${{ inputs.username }}
|
||||
password: ${{ inputs.password }}
|
||||
steps:
|
||||
- name: Setup composer authentication
|
||||
run: |
|
||||
if [ -f ${{ secrets.COMPOSER_AUTH_JSON }} ]
|
||||
cp ${{ secrets.COMPOSER_AUTH_JSON }} ~/.composer/auth.json
|
||||
fi
|
||||
|
||||
- name: Setup composer
|
||||
uses: https://git.qlic.nl/actions/setup-composer@v1
|
||||
with:
|
||||
@ -61,6 +59,6 @@ jobs:
|
||||
|
||||
- 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