Merge pull request #51 from Udhayarajan/patch #128
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: Pre Check | |
on: [ push ] | |
permissions: | |
contents: read | |
jobs: | |
lint-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Change wrapper permissions | |
run: chmod +x ./gradlew | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
distribution: adopt | |
java-version: 11 | |
- name: Run lint checks | |
run: ./gradlew ktlintCheck |