Created
September 13, 2020 21:08
-
-
Save damian-burke/02eab8ccff4e769d57f7dd877f1a09c0 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: DangerJS | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| with: | |
| fetch-depth: 1 | |
| - name: Install Danger | |
| run: yarn add danger danger-plugin-lint-report@1.0.0 | |
| - name: Run KtLint | |
| run: ./gradlew ktlintCheck | |
| continue-on-error: true | |
| - name: Run Detekt | |
| run: ./gradlew detekt | |
| continue-on-error: true | |
| - name: Run Android Lint | |
| run: ./gradlew lintDebug | |
| continue-on-error: true | |
| - name: Run Danger | |
| run: yarn danger ci | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment