Skip to content

Show new event button in Agenda view when it's empty (for single and two columns layout) #25

Show new event button in Agenda view when it's empty (for single and two columns layout)

Show new event button in Agenda view when it's empty (for single and two columns layout) #25

Workflow file for this run

name: Kotlin CI
on:
pull_request:
types: [ opened, synchronize, edited ]
paths:
- 'app-android/**'
push:
branches:
- dev-*
paths:
- 'app-android/**'
jobs:
test-kotlin:
runs-on: ubuntu-latest
env:
java-version: 21
java-distribution: 'temurin'
TZ: "Europe/Berlin" # We have some tests for same day alarms that depends on this TimeZone
permissions:
actions: none
checks: none
contents: read
deployments: none
id-token: none
issues: none
discussions: none
packages: none
pages: none
pull-requests: none
repository-projects: none
security-events: none
statuses: none
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Create dummy build folder
run: mkdir build # We need this because gradlew lint searches for the app assets
- name: Set up JDK ${{ env.java-version }}
uses: actions/setup-java@99b8673ff64fbf99d8d325f52d9a5bdedb8483e9 #4.2.1
with:
java-version: ${{ env.java-version }}
distribution: ${{ env.java-distribution }}
- name: Setup Android SDK
uses: android-actions/setup-android@07976c6290703d34c16d382cb36445f98bb43b1f #3.2.0
- name: Lint
working-directory: ./app-android
run: ./gradlew lint --quiet
- name: Test
working-directory: ./app-android
run: ./gradlew test