Skip to content

Commit 13a4dfd

Browse files
committed
Setup GitHub Actions
1 parent 684f6f4 commit 13a4dfd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
phpstan:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
18+
- name: Set up PHP
19+
uses: shivammathur/setup-php@v2
20+
with:
21+
php-version: '8.2'
22+
23+
- name: Install Composer packages
24+
uses: ramsey/composer-install@v3
25+
26+
- name: Run PHPStan
27+
run: vendor/bin/phpstan --ansi

0 commit comments

Comments
 (0)