Created
April 16, 2022 02:22
-
-
Save Ahmedgadein/9b12f348043e9f68b838b77017c9364c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: Workflow | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| testing: | |
| name: Lint Check and Testing | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Clone Repo | |
| uses: actions/checkout@v1 | |
| - name: Set up JDK 1.11 | |
| uses: actions/setup-java@v1 | |
| with: | |
| java-version: 1.11 | |
| - name: Run Kotlin Linter | |
| run: ./gradlew ktlintCheck | |
| - name: Run Android Linter | |
| run: ./gradlew lintDebug | |
| - name: Run Unit Tests | |
| run: ./gradlew testDebugUnitTest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment