File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Mago
1+ name : Code analysis
2+
3+ env :
4+ COMPOSE_USER : runner
25
36on :
47 pull_request :
Original file line number Diff line number Diff line change 8686 docker network create frontend
8787
8888 - run : |
89- docker compose run --rm phpfpm composer audit
89+ docker compose run --rm phpfpm composer audit --locked
Original file line number Diff line number Diff line change @@ -13,11 +13,10 @@ jobs:
1313 name : Mago
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v5
16+ - uses : actions/checkout@v7
1717
18- - name : Create docker network
19- run : |
20- docker network create frontend
18+ - run : |
19+ docker compose run --rm phpfpm composer install
2120
2221 - run : |
2322 docker compose run --rm mago lint
@@ -26,11 +25,10 @@ jobs:
2625 name : Mago - format
2726 runs-on : ubuntu-latest
2827 steps :
29- - uses : actions/checkout@v5
28+ - uses : actions/checkout@v7
3029
31- - name : Create docker network
32- run : |
33- docker network create frontend
30+ - run : |
31+ docker compose run --rm phpfpm composer install
3432
3533 - run : |
3634 docker compose run --rm mago format --check
@@ -39,11 +37,10 @@ jobs:
3937 name : Mago - analyze
4038 runs-on : ubuntu-latest
4139 steps :
42- - uses : actions/checkout@v5
40+ - uses : actions/checkout@v7
4341
44- - name : Create docker network
45- run : |
46- docker network create frontend
42+ - run : |
43+ docker compose run --rm phpfpm composer install
4744
4845 - run : |
4946 docker compose run --rm mago analyze
You can’t perform that action at this time.
0 commit comments