-
-
Notifications
You must be signed in to change notification settings - Fork 149
31 lines (23 loc) · 538 Bytes
/
Copy pathci.yml
File metadata and controls
31 lines (23 loc) · 538 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
name: CI
permissions:
contents: read
on: [push]
jobs:
php:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.3', '8.4', '8.5']
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Checkout
uses: actions/checkout@v6
- name: Install dependencies
run: composer install --no-interaction --no-progress
- name: Run tests
run: composer run phpunit
- name: Run phpstan
run: composer run phpstan