openapi.yml 650 B

123456789101112131415161718192021222324252627282930313233
  1. name: OpenAPI
  2. on:
  3. pull_request:
  4. push:
  5. branches:
  6. - master
  7. - stable*
  8. jobs:
  9. openapi:
  10. runs-on: ubuntu-latest
  11. if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
  12. steps:
  13. - name: Checkout
  14. uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
  15. - name: Set up php
  16. uses: shivammathur/setup-php@v2
  17. with:
  18. php-version: '8.2'
  19. extensions: xml
  20. coverage: none
  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