Skip to content

Update README.md

Update README.md #14

name: Continuous Integration
on: [push, pull_request]
jobs:
CI:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
ini-values: memory_limit=1G
tools: cs2pr
# Validate composer.json
- name: Validate Composer files
run: cd run && composer validate --no-check-all --strict
# Setup PHP environment (install dependencies etc.)
- name: Install Composer dependencies
run: cd run && composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
# Static code analyser
- name: Static Code Analysis
run: cd run && vendor/bin/phpstan analyse
# CSV linter
- name: Lint index.csv
uses: blackstar257/docker-csvlint@master
env:
ACTION_STATE_NAME: "index.csv"