mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-25 12:45:12 +00:00
add Qodana linter
This commit is contained in:
parent
f7d0afc3b6
commit
760c9639e2
2 changed files with 27 additions and 0 deletions
1
.github/workflows/debug.yml
vendored
1
.github/workflows/debug.yml
vendored
|
@ -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
26
.github/workflows/lint.yml
vendored
Normal 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
|
Loading…
Reference in a new issue