lint.yml 461 B

1234567891011121314151617181920212223242526
  1. # Lints the project using SwiftLint
  2. name: SwiftLint
  3. on:
  4. push:
  5. branches:
  6. - master
  7. - develop
  8. pull_request:
  9. types: [synchronize, opened, reopened, ready_for_review]
  10. branches:
  11. - master
  12. - develop
  13. jobs:
  14. Lint:
  15. runs-on: ubuntu-latest
  16. if: github.event.pull_request.draft == false
  17. steps:
  18. - uses: actions/checkout@v3
  19. - name: GitHub Action for SwiftLint
  20. uses: norio-nomura/action-swiftlint@3.2.1