chore(main): release 3.0.1 #13
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
on: | |
pull_request: | |
branches-ignore: | |
# Do not run on auto submitted branches | |
- '**-phpcbf' | |
- 'renovate/' | |
- 'dependabot/' | |
paths: | |
- '**.php' | |
name: PHP Lint | |
jobs: | |
php-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Install PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '7.4' | |
coverage: none | |
tools: cs2pr | |
# Install dependencies and handle caching in one go. | |
# @link https://github.com/marketplace/actions/install-composer-dependencies | |
- name: Install Composer dependencies | |
uses: "ramsey/composer-install@v2" | |
- name: PHP Lint | |
uses: overtrue/[email protected] | |
with: | |
path: . |