Skip to content

Commit 4ddcebb

Browse files
committed
Add qodana code inspection to the build
1 parent b2cd509 commit 4ddcebb

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

.github/workflows/gradle.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,21 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
- uses: actions/checkout@v2
19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v1
21-
with:
22-
java-version: 11
23-
- name: Grant execute permission for gradlew
24-
run: chmod +x gradlew
25-
- name: Build with Gradle
26-
run: ./gradlew build
18+
- uses: actions/checkout@v2
19+
- name: Set up JDK 11
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 11
23+
- name: Grant execute permission for gradlew
24+
run: chmod +x gradlew
25+
- name: Build with Gradle
26+
run: ./gradlew build
27+
- name: Qodana - Code Inspection
28+
uses: JetBrains/qodana-action@v2.2.1-eap
29+
with:
30+
results-dir: ${{ github.workspace }}/qodana
31+
- name: Archive code inspection results
32+
uses: actions/upload-artifact@v2
33+
with:
34+
name: code-inspection-report
35+
path: ${{ github.workspace }}/qodana

0 commit comments

Comments
 (0)