ci: cleanup, add dedicated lint workflow

This commit is contained in:
Matthew Penner 2022-10-26 10:43:05 -06:00
parent 5c78b380c5
commit 6f0bb43314
No known key found for this signature in database
5 changed files with 51 additions and 21 deletions

29
.github/workflows/lint.yaml vendored Normal file
View file

@ -0,0 +1,29 @@
name: Lint
on:
push:
branches:
- "develop"
- "1.0-develop"
pull_request:
branches:
- "develop"
- "1.0-develop"
jobs:
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Code Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.1'
tools: composer:v2
coverage: none
- name: PHP CS Fixer
run: vendor/bin/php-cs-fixer fix --dry-run --diff