diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 9ec3df7..28e8373 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -15,12 +15,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Set up JDK 11 - uses: actions/setup-java@v1 - with: - java-version: 11 - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew build + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew build + - name: Qodana - Code Inspection + uses: JetBrains/qodana-action@v2.2.1-eap + with: + results-dir: ${{ github.workspace }}/qodana + - name: Archive code inspection results + uses: actions/upload-artifact@v2 + with: + name: code-inspection-report + path: ${{ github.workspace }}/qodana \ No newline at end of file