Updating to use toml file for all plugins. (#266) #828
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: Android Build | |
# This will cancel any in progress workflows for the same PR, if | |
# multiple pushes happen in quick succession. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- development | |
pull_request: | |
jobs: | |
build: | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set Up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
# Only write to the cache for builds on the 'development' branch | |
cache-read-only: ${{ github.ref != 'refs/heads/development' }} | |
- name: Build Project | |
run: ./gradlew assemble | |
- name: Run Tests | |
run: ./gradlew test | |
- name: Lint Checks | |
run: ./gradlew detektAll lintKotlin lint | |
- name: Dependency Sort Checks | |
run: ./gradlew checkSortDependencies |