Translated using Weblate (Italian) #388
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: MusicBrainz CI | |
on: | |
push: | |
branches: [ main, dev ] | |
pull_request: | |
branches: [ main, dev ] | |
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 |