mirror of
https://github.com/jellyfin/jellyfin-android.git
synced 2026-10-31 11:12:08 +01:00
29 lines
768 B
YAML
29 lines
768 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@2541b1294d2704b0964813337f33b291d3f8596b # tag=v3
|
|
- name: Setup Java
|
|
uses: actions/setup-java@2c7a4878f5d120bd643426d54ae1209b29cc01a3 # tag=v3
|
|
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@b398f525a5587552e573b247ac661067fafa920b # tag=v2
|
|
if: ${{ always() }}
|
|
with:
|
|
sarif_file: .
|