Skip to content

DX Changes

DX Changes #1267

Workflow file for this run

name: ListenBrainz CI
on:
push:
branches: [ main, dev, beta ]
pull_request:
branches: [ main, dev, beta ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 17
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Run unit tests
run: ./gradlew test
- name: Build with Gradle
run: ./gradlew build
- name: Run lint with Gradle
run: ./gradlew lint
- name: Check lint results
uses: yutailang0119/action-android-lint@v4
with:
report-path: build/reports/*.xml
continue-on-error: false