0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-25 12:45:12 +00:00

add Qodana linter

This commit is contained in:
X1nto 2021-11-03 11:16:58 +04:00
parent f7d0afc3b6
commit 760c9639e2
2 changed files with 27 additions and 0 deletions

View file

@ -17,6 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: set up JDK 1.8
uses: actions/setup-java@v1
with:

26
.github/workflows/lint.yml vendored Normal file
View file

@ -0,0 +1,26 @@
name: Code Linter
on:
push:
branches:
- dev
jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/work/_temp/_github_home/cache
key: ${{ runner.os }}-qodana-${{ github.ref }}
restore-keys: |
${{ runner.os }}-qodana-${{ github.ref }}
${{ runner.os }}-qodana-
- uses: docker://jetbrains/qodana-jvm-android
with:
args: --cache-dir=/github/home/cache --results-dir=/github/workspace/qodana --save-report --report-dir=/github/workspace/qodana/report
- uses: actions/upload-artifact@v2
with:
path: qodana