Skip to content

Commit 5688df4

Browse files
committed
Added code analysis action
1 parent 029f13d commit 5688df4

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mago
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
- develop
9+
10+
jobs:
11+
code-analysis-php:
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- uses: actions/checkout@v5
17+
18+
- name: Create docker network
19+
run: |
20+
docker network create frontend
21+
22+
- run: |
23+
docker compose run --rm phpfpm composer install
24+
docker compose run --rm phpfpm php vendor/bin/phpstan

0 commit comments

Comments
 (0)