mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
28 lines
515 B
YAML
28 lines
515 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
|
|
|
|
- name: Install dependencies
|
|
run: composer install --prefer-dist --no-progress --no-suggest
|
|
|
|
- name: Run psalm (static analysis)
|
|
run: composer psalm
|
|
|