You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
525 B
YAML
28 lines
525 B
YAML
name: PHP Composer
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Validate composer.json and composer.lock
|
|
run: composer validate
|
|
|
|
- name: setup templates_c
|
|
run: mkdir templates_c || true
|
|
|
|
- name: touch config.local.php
|
|
run: touch config.local.php && php -v
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Run psalm (static analysis)
|
|
run: composer psalm
|
|
|