Skip to content

Check that ACF functions exist before use #229

Check that ACF functions exist before use

Check that ACF functions exist before use #229

Workflow file for this run

name: Main tests
on: push
jobs:
kahlan:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.4']
steps:
- uses: actions/[email protected]
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- run: composer install --no-interaction
- run: vendor/bin/kahlan
psalm:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.4']
steps:
- uses: actions/[email protected]
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- run: composer install --no-interaction
- run: vendor/bin/psalm
php-cs-fixer:
runs-on: ubuntu-20.04
strategy:
matrix:
php-versions: ['7.4']
steps:
- uses: actions/[email protected]
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- run: composer install --no-interaction
- run: vendor/bin/php-cs-fixer fix --dry-run -v --diff
standardjs:
runs-on: ubuntu-20.04
steps:
- uses: actions/[email protected]
- uses: actions/setup-node@v4
with:
node-version: '14'
- run: yarn install --non-interactive
- run: yarn run standard