Skip to content

Commit 38d0450

Browse files
committed
Add GitHub actions
1 parent d4e5f13 commit 38d0450

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- name: Setup PHP
11+
id: setup-php
12+
uses: shivammathur/setup-php@v2
13+
with:
14+
php-version: '8.2'
15+
- name: Install dependencies
16+
run: composer install
17+
- run: ./vendor/bin/php-cs-fixer check
18+
- run: ./vendor/bin/phpstan
19+
- run: ./vendor/bin/phpunit

0 commit comments

Comments
 (0)