Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit c77b039

Browse files
author
Jędrzej
authored
Added CI (#1)
1 parent 9f09313 commit c77b039

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/lint.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: [push, pull_request]
2+
name: Lint
3+
jobs:
4+
php-cs-fixer:
5+
name: PHP-CS-Fixer
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- name: PHP-CS-Fixer
10+
uses: docker://oskarstark/php-cs-fixer-ga
11+
with:
12+
args: --allow-risky=yes --diff --dry-run

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: [push, pull_request]
2+
name: Test
3+
jobs:
4+
phpstan:
5+
name: PHP-CS-Fixer
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: actions/checkout@v3
9+
- name: PHP-CS-Fixer
10+
uses: docker://oskarstark/phpstan-ga
11+
with:
12+
args: analyse -c phpstan.neon

0 commit comments

Comments
 (0)