Skip to content

ci-nym-vpn-android

ci-nym-vpn-android #6

name: ci-nym-vpn-android
on:
workflow_dispatch:
pull_request:
paths:
- "nym-vpn-android/**"
jobs:
check:
runs-on: ubuntu-22.04-arc
steps:
- name: Checkout
uses: actions/checkout@v4
with:
sparse-checkout: |
nym-vpn-android
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Setup Android SDK
uses: amyu/setup-android@v4
- name: Grant execute permission for gradlew
working-directory: nym-vpn-android
run: chmod +x gradlew
- name: Run ktlint
working-directory: nym-vpn-android
run: |
./gradlew ktlintCheck
- name: Run detekt
working-directory: nym-vpn-android
run: |
./gradlew detekt --info