Dashboard Integration Temporary Finished #18
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: CI | |
on: | |
# Triggers the workflow on push and PR | |
push: | |
pull_request: | |
# Allows to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: set up JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
- name: Make gradlew executable | |
run: chmod +x ./gradlew | |
- name: Ktlint Format | |
run: ./gradlew ktlintFormat | |
- name: ktLint Check | |
run: ./gradlew ktlintCheck | |
- name: Lint | |
run: ./gradlew lint | |
- name: Assembling | |
run: ./gradlew assembleDebug | |
- name: Unit testing | |
run: ./gradlew test |