Update shivammathur/setup-php digest to c541c15 #55
Workflow file for this run
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: PHP Linting (Pint) | |
on: | |
workflow_dispatch: | |
push: | |
branches-ignore: | |
- 'dependabot/npm_and_yarn/*' | |
jobs: | |
Pint: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 | |
with: | |
php-version: '8.1' | |
- uses: actions/checkout@v4 | |
- name: Copy .env | |
run: php -r "file_exists('.env') || copy('.env.example', '.env');" | |
- name: Install Dependencies | |
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist | |
- name: Launch Pint inspection | |
run: vendor/bin/pint | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: PHP Linting (Pint) | |
skip_fetch: true |