This repository has been archived by the owner on Mar 17, 2024. It is now read-only.
fix: more accurate TICK_PER_DEGREE #46
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: | |
# 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@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Lint project | |
run: | | |
chmod +x ./gradlew | |
./gradlew lintKotlin | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Build project | |
run: | | |
chmod +x ./gradlew | |
./gradlew build |