-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 896 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Lint
on: ['push']
jobs:
pint:
runs-on: ubuntu-latest
name: pint
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Cache composer dependencies
uses: actions/[email protected]
id: composer
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Setup PHP
uses: shivammathur/[email protected]
with:
php-version: 8.3
extensions: json, dom, curl, libxml, mbstring
tools: composer:v2
- name: Install composer dependencies
env:
COMPOSER_AUTH: ${{ secrets.COMPOSER_AUTH }}
run: composer install --quiet --no-ansi --no-interaction --no-progress --prefer-dist
- name: Pint check
run: ./vendor/bin/pint --test