Skip to content

ci: Rename and run check styling on prs too #46

ci: Rename and run check styling on prs too

ci: Rename and run check styling on prs too #46

Workflow file for this run

name: Check styling
on:
push:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
check-styling:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer:v2
coverage: none
- name: Install Composer dependencies
run: composer install -n --prefer-dist
- name: Run Laravel Pint
run: ./vendor/bin/pint --test