mirror of
https://github.com/graycoreio/github-actions-magento2.git
synced 2026-06-08 19:46:41 +00:00
fcaf3e4ed2
* Switch to PHP 8.2 * Fix phpcs baseline action inputs
599 B
Executable File
599 B
Executable File
Magento 2 Coding Standard Action
A Github Action that runs the Magento Coding Standard.
Inputs
See the action.yml
Usage
name: Coding Standard baseline
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
coding-standard:
runs-on: ubuntu-latest
steps:
- uses: mage-os/github-actions/coding-standard-baseline@main
with:
php_version: "8.2"
composer_version: "2"
version: "*"
severity: "5"
warning_severity: "8"
error_severity: "8"
baseline_version: "*"