Skip to content

Commit 0969d42

Browse files
Merge pull request #104 from utopia-php/fix-router-behaviour
Fix router execution action
2 parents 1c8ed95 + fbbb6b5 commit 0969d42

File tree

8 files changed

+225
-257
lines changed

8 files changed

+225
-257
lines changed

.github/workflows/bench.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ jobs:
1010
- name: Checkout repository
1111
uses: actions/checkout@v3
1212

13-
- name: Setup PHP
14-
uses: shivammathur/setup-php@v2
15-
with:
16-
php-version: '8.0'
17-
18-
- name: Install dependencies
19-
run: composer install --prefer-dist
20-
21-
- name: Run Benchmarks
22-
run: composer bench -- --progress=plain
13+
- name: Run Linter
14+
run: |
15+
docker run --rm -v $PWD:/app composer sh -c \
16+
"composer install --profile --ignore-platform-reqs && git config --global --add safe.directory /app && composer bench -- --progress=plain"

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ jobs:
99
steps:
1010
- name: Checkout repository
1111
uses: actions/checkout@v3
12-
with:
13-
fetch-depth: 2
14-
15-
- run: git checkout HEAD^2
1612

1713
- name: Run CodeQL
1814
run: |

.github/workflows/lint.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@ jobs:
1010
- name: Checkout repository
1111
uses: actions/checkout@v3
1212

13-
- name: Setup PHP
14-
uses: shivammathur/setup-php@v2
15-
with:
16-
php-version: '8.0'
17-
18-
- name: Install dependencies
19-
run: composer install --prefer-dist
20-
2113
- name: Run Linter
22-
run: composer lint
14+
run: |
15+
docker run --rm -v $PWD:/app composer sh -c \
16+
"composer install --profile --ignore-platform-reqs && composer lint"

0 commit comments

Comments
 (0)