Skip to content

lint fix, add github workflows #1

lint fix, add github workflows

lint fix, add github workflows #1

Workflow file for this run

# .github/workflows/duster.yml
name: PHP Lint
on:
push:
branches: main
pull_request:
jobs:
php-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Setup PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "latest"
- name: "composer install"
run: composer install --no-cache --ignore-platform-reqs --no-interaction --prefer-dist --optimize-autoloader --apcu-autoloader
- name: "duster"
uses: tighten/duster-action@v2
with:
args: lint --using=phpstan,tlint,phpcs,pint