forked from laravelcm/laravel.cm
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (44 loc) · 1.35 KB
/
quality.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
38
39
40
41
42
43
44
45
46
47
48
49
name: Quality
on:
push:
branches:
- main
- develop
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pint:
runs-on: ubuntu-22.04
steps:
- name: 👀 Checkout
uses: actions/checkout@v4
- name: 🪄 Setup
uses: ./.github/actions/setup
- name: 🔮 Install Composer Dependencies
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
- name: 🕵️♂️ Run Laravel Pint
run: composer lint -- --test
phpstan:
runs-on: ubuntu-22.04
steps:
- name: 👀 Checkout
uses: actions/checkout@v4
- name: 🪄 Setup
uses: ./.github/actions/setup
- name: 🔮 Install Composer Dependencies
run: composer install --no-progress --no-interaction --prefer-dist --optimize-autoloader
- name: 🕵️♂️ Run PHPStan
run: composer test:phpstan -- --ansi --no-interaction --no-progress --error-format=github
composer:
runs-on: ubuntu-22.04
steps:
- name: 👀 Checkout
uses: actions/checkout@v4
- name: 🪄 Setup
uses: ./.github/actions/setup
- name: 🕵️♂️ Run Composer Validate
run: composer validate
- name: 🕵️♂️ Run Composer Audit
run: composer audit