Merge pull request #68 from clickbar/st-from-as #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
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 |