Skip to content

Also run Phan on multiple PHP versions #719

Also run Phan on multiple PHP versions

Also run Phan on multiple PHP versions #719

Workflow file for this run

name: QIT CLI Code tests
on:
workflow_call:
push:
paths:
- 'src/**.php'
jobs:
code_tests:
name: Code tests
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v3
id: cache-composer
with:
path: src/vendor
key: ${{ runner.os }}-${{ hashFiles('src/composer.lock') }}
- name: Composer install
if: steps.cache-composer.outputs.cache-hit != 'true'
working-directory: src
run: composer install
- name: Run PHPCS
run: make phpcs
- name: Run PHPStan
run: make phpstan
- name: Run Phan
run: make phan