Skip to content

Commit 93fc1e5

Browse files
committed
Updated actions
1 parent 5688df4 commit 93fc1e5

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/code-analysis.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
name: Mago
1+
name: Code analysis
2+
3+
env:
4+
COMPOSE_USER: runner
25

36
on:
47
pull_request:

.github/workflows/composer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@ jobs:
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

.github/workflows/mago.yaml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)