Skip to content

Commit

Permalink
Added CI (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
bvlinsky committed Jan 12, 2024
1 parent e1d95e1 commit c341e6e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push, pull_request]
name: Lint
jobs:
php-cs-fixer:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: PHP-CS-Fixer
uses: docker://oskarstark/php-cs-fixer-ga
with:
args: --allow-risky=yes --diff --dry-run
12 changes: 12 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
on: [push, pull_request]
name: Test
jobs:
phpstan:
name: PHP-CS-Fixer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: PHP-CS-Fixer
uses: docker://oskarstark/phpstan-ga
with:
args: analyse -c phpstan.neon

0 comments on commit c341e6e

Please sign in to comment.