-
-
Save le0nidas/3d13709c640a144a132cd01528f0b7ec to your computer and use it in GitHub Desktop.
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: Check PR | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
check-pr-quality: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get code from repository | |
uses: actions/checkout@v2 | |
- name: Setup JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Make gradlew executable | |
run: chmod +x gradlew | |
- name: Compile project | |
run: ./gradlew assemble | |
- name: Run tests | |
run: ./gradlew test | |
- name: Run quality tools | |
uses: le0nidas/ktlint-pr-comments@v1 | |
with: | |
repotoken: ${{ secrets.GITHUB_TOKEN }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment