Skip to content

GitHub Actions: Add pint workflow (#19) #1

GitHub Actions: Add pint workflow (#19)

GitHub Actions: Add pint workflow (#19) #1

Workflow file for this run

name: Pint
on:
workflow_dispatch:
pull_request:
branches:
- master
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions: {}
jobs:
pint:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
tools: pint:1
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: composer lint