Skip to content

Commit a861ad1

Browse files
authored
Qodana (#64) [skip ci]
1 parent 5841039 commit a861ad1

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/qodana.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Qodana
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
paths-ignore: [ '**.md', '**.MD' ]
7+
pull_request:
8+
branches: [ master ]
9+
paths-ignore: [ '**.md', '**.MD' ]
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v2
16+
17+
- name: Cache Qodana dependencies
18+
uses: actions/cache@v2
19+
with:
20+
path: ~/work/_temp/_github_home/qodana-cache
21+
key: ${{ runner.os }}-qodana-${{ github.ref }}
22+
restore-keys: |
23+
${{ runner.os }}-qodana-${{ github.ref }}
24+
${{ runner.os }}-qodana-
25+
- uses: JetBrains/qodana-action@v3.2.1
26+
with:
27+
linter: qodana-jvm-community
28+
fail-threshold: 10
29+
30+
- uses: actions/upload-artifact@v2
31+
with:
32+
path: ${{ github.workspace }}/qodana

0 commit comments

Comments
 (0)