123456789101112131415161718192021222324252627282930 |
- # Lints the project using SwiftLint
- name: SwiftLint
- on:
- push:
- branches:
- - master
- - develop
- pull_request:
- types: [synchronize, opened, reopened, ready_for_review]
- branches:
- - master
- - develop
- concurrency:
- group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
- cancel-in-progress: true
- jobs:
- Lint:
- runs-on: ubuntu-latest
- if: github.event.pull_request.draft == false
- steps:
- - uses: actions/checkout@v4
- - name: GitHub Action for SwiftLint
- uses: norio-nomura/action-swiftlint@3.2.1
|