Skip to content

chore(deps): bump actions/download-artifact from 3 to 4 #168

chore(deps): bump actions/download-artifact from 3 to 4

chore(deps): bump actions/download-artifact from 3 to 4 #168

Workflow file for this run

name: Check & fix styling
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
pint:
runs-on: ubuntu-latest
name: Code formatting
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Composer packages
uses: actions/cache@v3
with:
path: vendor
key: php-${{ hashFiles('**/composer.lock') }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Run Pint
run: composer format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "fix: apply code styling rules"