This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
API Dependencies #68
Workflow file for this run
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: Lint | |
on: | |
# Update on pushes to main | |
push: | |
branches: [ "main" ] | |
pull_request: | |
# Allow running workflow manually | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Lint project | |
run: | | |
chmod +x ./gradlew | |
./gradlew lintKotlin |