mirror of
https://github.com/filamentphp/plugin-skeleton.git
synced 2026-08-05 02:09:41 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
name: fix-code-style
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- '**.php'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
fix-code-style:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# persist-credentials: true is required so `git-auto-commit-action` below
|
|
# can push the reformatted files back to the branch.
|
|
# zizmor: ignore[artipacked]
|
|
- name: Checkout code
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Cache Composer dependencies
|
|
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
|
with:
|
|
path: ~/.composer/cache/files
|
|
key: composer-cs-${{ hashFiles('composer.json') }}
|
|
restore-keys: |
|
|
composer-cs-
|
|
|
|
- name: Setup PHP
|
|
uses: shivammathur/setup-php@f3e473d116dcccaddc5834248c87452386958240 # 2.37.2
|
|
with:
|
|
php-version: 8.4
|
|
|
|
- name: Install dependencies
|
|
run: composer install --no-interaction --no-scripts
|
|
|
|
- name: Run Pint
|
|
run: ./vendor/bin/pint
|
|
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@4a55954c782fc1ea30b9056cd3e7a2b40ca8887d # v7.2.0
|
|
with:
|
|
commit_message: Fix styling
|