Created
January 13, 2021 10:33
-
-
Save huynguyencong/787245c0a5b362c2e056964d5b823dc4 to your computer and use it in GitHub Desktop.
Github action: On pull request to master, develop, release branch, run Test and Swiftlint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: On pull request | |
on: | |
pull_request: | |
branches: | |
- master | |
- develop | |
jobs: | |
test: | |
name: Testing | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Test | |
run: fastlane test | |
swiftlint: | |
name: Swiftlint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: SwiftLint (Only files changed in the PR) | |
uses: norio-nomura/[email protected] | |
env: | |
DIFF_BASE: ${{ github.base_ref }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment