Skip to content

Android Pull Request Check

Source: workflows/android-cloud-check.yml

Runner: ubuntu-latest

Usage

jobs:
  android-pull-request-check:
    uses: futuredapp/.github/.github/workflows/android-cloud-check.yml@2.2.0
    with:
      LINT_GRADLE_TASKS: '...'
      TEST_GRADLE_TASKS: '...'

Inputs

Name Type Required Default Description
LINT_GRADLE_TASKS string Yes A Gradle task(s) for executing lint check, for example lintCheck lintRelease
TEST_GRADLE_TASKS string Yes A Gradle task(s) for executing unit tests, for example testReleaseUnitTest or testDevEnterpriseUnitTest
USE_GIT_LFS boolean No False Whether to download Git-LFS files
TIMEOUT_MINUTES number No 30 Job timeout in minutes
JAVA_VERSION string No 17 Java version to use
JAVA_DISTRIBUTION string No zulu Java distribution to use
GRADLE_OPTS string No Gradle options

Secrets

Name Required Description
GRADLE_CACHE_ENCRYPTION_KEY No Configuration cache encryption key
GITHUB_TOKEN_DANGER No GitHub token for Danger. Must have permissions to read and write issues and pull requests.

Internal Actions Used