File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,17 +20,25 @@ jobs:
2020 ref : feat-builder
2121 path : query
2222
23+ - name : Checkout async library
24+ uses : actions/checkout@v4
25+ with :
26+ repository : utopia-php/async
27+ path : async
28+
2329 - run : git checkout HEAD^2
2430 if : github.event_name == 'pull_request'
2531 working-directory : database
2632
2733 - name : Run CodeQL
2834 run : |
29- docker run --rm -v $PWD/database:/app -v $PWD/query:/query -w /app -e COMPOSER_MIRROR_PATH_REPOS=1 php:8.4-cli-alpine sh -c \
35+ docker run --rm -v $PWD/database:/app -v $PWD/query:/query -v $PWD/async:/async - w /app -e COMPOSER_MIRROR_PATH_REPOS=1 php:8.4-cli-alpine sh -c \
3036 "php -r \"copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');\" && \
3137 php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer && \
3238 sed -i 's|\"url\": \"../query\"|\"url\": \"/query\"|' composer.json && \
39+ sed -i 's|\"url\": \"../async\"|\"url\": \"/async\"|' composer.json && \
3340 sed -i 's|\"symlink\": true|\"symlink\": false|' composer.json && \
3441 sed -i 's|\"url\": \"../query\"|\"url\": \"/query\"|' composer.lock && \
42+ sed -i 's|\"url\": \"../async\"|\"url\": \"/async\"|' composer.lock && \
3543 composer install --profile --ignore-platform-reqs && \
3644 composer check"
Original file line number Diff line number Diff line change @@ -20,16 +20,25 @@ jobs:
2020 ref : feat-builder
2121 path : query
2222
23+ - name : Checkout async library
24+ uses : actions/checkout@v4
25+ with :
26+ repository : utopia-php/async
27+ path : async
28+
2329 - run : git checkout HEAD^2
2430 if : github.event_name == 'pull_request'
2531 working-directory : database
2632
2733 - name : Run Linter
2834 run : |
29- docker run --rm -v $PWD/database:/app -v $PWD/query:/query -w /app -e COMPOSER_MIRROR_PATH_REPOS=1 phpswoole/swoole:5.1.8-php8.3-alpine sh -c \
35+ docker run --rm -v $PWD/database:/app -v $PWD/query:/query -v $PWD/async:/async - w /app -e COMPOSER_MIRROR_PATH_REPOS=1 phpswoole/swoole:5.1.8-php8.3-alpine sh -c \
3036 "sed -i 's|\"url\": \"../query\"|\"url\": \"/query\"|' composer.json && \
37+ sed -i 's|\"url\": \"../async\"|\"url\": \"/async\"|' composer.json && \
3138 sed -i 's|\"symlink\": true|\"symlink\": false|' composer.json && \
3239 sed -i 's|\"url\": \"../query\"|\"url\": \"/query\"|' composer.lock && \
40+ sed -i 's|\"url\": \"../async\"|\"url\": \"/async\"|' composer.lock && \
3341 composer install --profile --ignore-platform-reqs && \
3442 if [ -L vendor/utopia-php/query ]; then rm vendor/utopia-php/query && cp -r /query vendor/utopia-php/query; fi && \
43+ if [ -L vendor/utopia-php/async ]; then rm vendor/utopia-php/async && cp -r /async vendor/utopia-php/async; fi && \
3544 composer lint"
Original file line number Diff line number Diff line change 2727 ref : feat-builder
2828 path : query
2929
30+ - name : Checkout async library
31+ uses : actions/checkout@v4
32+ with :
33+ repository : utopia-php/async
34+ path : async
35+
3036 - name : Set up Docker Buildx
3137 uses : docker/setup-buildx-action@v3
3238
You can’t perform that action at this time.
0 commit comments