Skip to content

Instantly share code, notes, and snippets.

@le0nidas

le0nidas/working-workflow.yml Secret

Last active Aug 29, 2020
Embed
What would you like to do?
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
You can’t perform that action at this time.