-
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (26 loc) · 681 Bytes
/
php8.yml
File metadata and controls
34 lines (26 loc) · 681 Bytes
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
name: PHP 8.0
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup PHP Action
uses: shivammathur/setup-php@2.15.0
with:
php-version: '8.0'
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run style check
run: composer run style
- name: Run static analyzer
run: composer run stan
- name: Run tests
run: composer run test