Skip to content

fixed accidentally replaced instances of "run" #17

fixed accidentally replaced instances of "run"

fixed accidentally replaced instances of "run" #17

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
runs: cd scripts && composer validate --no-check-all --strict
# Setup PHP environment (install dependencies etc.)
- name: Install Composer dependencies
runs: cd scripts && composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader
# Static code analyser
- name: Static Code Analysis
runs: cd scripts && vendor/bin/phpstan analyse
# CSV linter
- name: Lint index.csv
uses: kcheriyath/csvlinter@latest
with:
file_list: "index.csv"
find_pattern: "*.csv"
find_path: "./"
fail_on_error: "true"