Skip to content

Add phpcs check with PSR12 #1

Add phpcs check with PSR12

Add phpcs check with PSR12 #1

Workflow file for this run

name: Valet+ tests
on:
push:
branches: [ 3.x ]
pull_request:
branches: [ 3.x ]
jobs:
test:
steps:

Check failure on line 11 in .github/workflows/test-static.yml

View workflow run for this annotation

GitHub Actions / Valet+ tests

Invalid workflow file

The workflow is not valid. .github/workflows/test-static.yml (Line: 11, Col: 5): Required property is missing: runs-on
- name: Checkout code
uses: actions/checkout@v4
- name: '[INSTALL] Install PHP 8.0'
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
extensions: dom, curl, libxml, mbstring, zip, fileinfo
ini-values: error_reporting=E_ALL, max_execution_time=-1, memory_limit=512M
tools: composer:v2
coverage: none
- name: '[INSTALL] Composer install'
run: composer install --no-interaction --prefer-dist
- name: '[TEST] Phpcs'
run: ./vendor/bin/phpcs