openapi.yml 921 B

12345678910111213141516171819202122232425262728293031323334
  1. name: OpenAPI
  2. on:
  3. pull_request:
  4. concurrency:
  5. group: openapi-${{ github.head_ref || github.run_id }}
  6. cancel-in-progress: true
  7. jobs:
  8. openapi:
  9. runs-on: ubuntu-latest
  10. if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
  11. steps:
  12. - name: Checkout
  13. uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
  14. - name: Set up php
  15. uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 # v2.31.1
  16. with:
  17. php-version: '8.2'
  18. extensions: ctype, curl, dom, fileinfo, gd, json, libxml, mbstring, openssl, pcntl, pdo, posix, session, simplexml, xml, xmlreader, xmlwriter, zip, zlib
  19. coverage: none
  20. ini-file: development
  21. env:
  22. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  23. - name: Composer install
  24. run: composer i
  25. - name: OpenAPI checker
  26. run: build/openapi-checker.sh