File tree Expand file tree Collapse file tree 3 files changed +40
-0
lines changed
modules/openapi-generator-cli
samples/client/petstore/php-nextgen/OpenAPIClient-php Expand file tree Collapse file tree 3 files changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Samples PHP Syntax Checker
2+
3+ on :
4+ push :
5+ paths :
6+ - samples/client/petstore/php/OpenAPIClient-php/**
7+ - samples/client/petstore/php-nextgen/OpenAPIClient-php/**
8+ pull_request :
9+ paths :
10+ - samples/client/petstore/php/OpenAPIClient-php/**
11+ - samples/client/petstore/php-nextgen/OpenAPIClient-php/**
12+ jobs :
13+ build :
14+ name : Build PHP projects
15+ runs-on : ubuntu-latest
16+ strategy :
17+ fail-fast : false
18+ matrix :
19+ php :
20+ - " 8.1"
21+ - " 8.2"
22+ - " 8.3"
23+ - " 8.4"
24+ sample :
25+ # clients
26+ - samples/client/petstore/php/OpenAPIClient-php/
27+ - samples/client/petstore/php-nextgen/OpenAPIClient-php/
28+ steps :
29+ - uses : actions/checkout@v4
30+ - name : Setup PHP with tools
31+ uses : shivammathur/setup-php@v2
32+ with :
33+ php-version : " ${{ matrix.php }}"
34+ - name : php -l
35+ working-directory : ${{ matrix.sample }}
36+ run : find . -name "*.php" -exec php -l {} +
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ ADD target/openapi-generator-cli.jar /opt/openapi-generator/modules/openapi-gene
44
55COPY docker-entrypoint.sh /usr/local/bin/
66
7+ RUN ln -s /usr/local/bin/docker-entrypoint.sh /usr/local/bin/openapi-generator-cli
8+
79ENTRYPOINT ["docker-entrypoint.sh" ]
810
911CMD ["help" ]
Original file line number Diff line number Diff line change 2121#docs/*.md
2222# Then explicitly reverse the ignore rule for a single file:
2323#!docs/README.md
24+ #
25+ #
You can’t perform that action at this time.
0 commit comments