Skip to content

Merge branch 'main' into dev #213

Merge branch 'main' into dev

Merge branch 'main' into dev #213

Workflow file for this run

name: phpcs
on:
push:
branches:
- '*'
pull_request:
types:
- opened
- synchronize
- ready_for_review
jobs:
# PHP 7.4
# phpcs-7_4:
# timeout-minutes: 10
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup PHP Action
# uses: shivammathur/[email protected]
# with:
# php-version: '7.4'
# tools: composer:v2, phpcs
# - name: Install dependencies
# working-directory: ./
# run: composer install
# - name: Run phpcs
# working-directory: ./
# run: vendor/bin/phpcs
# PHP 8.0
phpcs-8_0:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.0'
tools: composer:v2, phpcs
- name: Install dependencies
working-directory: ./
run: composer install
- name: Run phpcs
working-directory: ./
run: vendor/bin/phpcs
# PHP 8.1
phpcs-8_1:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.1'
tools: composer:v2, phpcs
- name: Install dependencies
working-directory: ./
run: composer install
- name: Run phpcs
working-directory: ./
run: vendor/bin/phpcs
# PHP 8.2
phpcs-8_2:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP Action
uses: shivammathur/[email protected]
with:
php-version: '8.2'
tools: composer:v2, phpcs
- name: Install dependencies
working-directory: ./
run: composer install
- name: Run phpcs
working-directory: ./
run: vendor/bin/phpcs
# PHP 8.3
# phpcs-8_3:
# timeout-minutes: 10
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Setup PHP Action
# uses: shivammathur/[email protected]
# with:
# php-version: '8.3'
# tools: composer:v2, phpcs
# - name: Install dependencies
# working-directory: ./
# run: composer install
# - name: Run phpcs
# working-directory: ./
# run: vendor/bin/phpcs