ci: combine PHP jobs

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/877/head
Varun Patil 2023-10-15 17:39:35 -07:00
parent b5d89db6b9
commit 577ec47a81
1 changed files with 14 additions and 15 deletions

View File

@ -5,18 +5,8 @@ on:
- pull_request - pull_request
jobs: jobs:
php-cs-fixer: php-lint:
name: PHP-CS-Fixer name: PHP Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --dry-run --diff lib
pslam:
name: Psalm
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout server - name: Checkout server
@ -39,13 +29,22 @@ jobs:
extensions: mbstring, iconv, fileinfo, intl extensions: mbstring, iconv, fileinfo, intl
coverage: none coverage: none
- name: Run Psalm - name: Install dependencies
working-directory: apps/memories
run: | run: |
cd apps/memories
make install-tools make install-tools
- name: Run Psalm
working-directory: apps/memories
run: |
vendor/bin/psalm --no-cache --shepherd --stats --threads=4 lib vendor/bin/psalm --no-cache --shepherd --stats --threads=4 lib
vue-tsc-prettier: - name: Run PHP-CS-Fixer
working-directory: apps/memories
run: |
vendor/bin/php-cs-fixer fix --dry-run --diff lib
vue-lint:
name: Vue Lint name: Vue Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps: