openapi.yml 695 B

123456789101112131415161718192021222324252627282930313233
  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@b4ffde65f46336ab88eb53be808477a3936bae11
  14. - name: Set up php
  15. uses: shivammathur/setup-php@v2
  16. with:
  17. php-version: '8.2'
  18. extensions: xml
  19. coverage: none
  20. env:
  21. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  22. - name: Composer install
  23. run: composer i
  24. - name: OpenAPI checker
  25. run: build/openapi-checker.sh