Skip to content

Update LIFECYCLE.md #119

Update LIFECYCLE.md

Update LIFECYCLE.md #119

Workflow file for this run

name: lint
on:
push:
branches: [ 'main' ]
pull_request:
workflow_dispatch:
jobs:
lint:
name: "Linting (PHP ${{ matrix.php-version }})"
runs-on: "ubuntu-22.04"
continue-on-error: true
strategy:
matrix:
php-version: [ "8.1" ]
env:
COMPOSER_VERSION: 2
COVERAGE_DRIVER: none
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: ${{ env.COVERAGE_DRIVER }}
tools: composer:${{ env.COMPOSER_VERSION }}
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress
- name: Run PHP-CS-Fixer
run: php vendor/bin/php-cs-fixer fix --config .php-cs-fixer.dist.php --verbose --dry-run
validate:
name: "Validating composer.json"
runs-on: "ubuntu-22.04"
continue-on-error: true
env:
COMPOSER_VERSION: 2
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
tools: composer:${{ env.COMPOSER_VERSION }}
- name: Run composer validate
run: composer validate