mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-10-21 15:21:56 +02:00
29 lines
627 B
YAML
29 lines
627 B
YAML
name: App Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release-*
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
distribution: temurin
|
|
java-version: 11
|
|
cache: gradle
|
|
- name: Run detekt and lint tasks
|
|
run: ./gradlew --build-cache --no-daemon --info detekt lint
|
|
- name: Upload SARIF files
|
|
uses: github/codeql-action/upload-sarif@v1
|
|
if: ${{ always() }}
|
|
with:
|
|
sarif_file: .
|