Skip to content

Fix linter

Fix linter #655

Workflow file for this run

---
name: Build
env:
EXODUS_API_KEY: ${{secrets.EXODUS_API_KEY}}
on:
push:
branches:
- master
pull_request:
branches:
- master
paths-ignore:
-'fastlane/**'
-'README.md'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
- name: Run Kotlin Linter
run: ./gradlew app:ktlintCheck --info
- name: Generate debug build
run: ./gradlew assembleDebug
- name: Execute exodus-standalone
uses: docker://exodusprivacy/exodus-standalone:v1.4.0
with:
args: /github/workspace/app/build/outputs/apk/debug/app-debug.apk
- name: Upload APK
uses: actions/upload-artifact@v3
with:
name: app_debug
path: app/build/outputs/apk/debug/app-debug.apk