Skip to content

DOPE-163: created kotlin_ci.yml #3

DOPE-163: created kotlin_ci.yml

DOPE-163: created kotlin_ci.yml #3

Workflow file for this run

name: Kotlin CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Run ktlint
run: ./gradlew ktlintCheck
- name: Run tests
run: ./gradlew test