Git Product home page Git Product logo

qodana-action-eap's Introduction

⚠️ The action is deprecated. Please use https://github.com/JetBrains/qodana-action

Qodana - EAP Linters

Qodana EAP version alert

Qodana is a code quality monitoring platform that allows you to evaluate the integrity of code you own, contract, or purchase. It brings into your CI/CD pipelines all the smart features you love in the JetBrains IDEs plus continues adding project-level checks like clone detection and license audit.

Table of Contents

Usage

  • linter - Qodana Linter. Possible values: qodana-jvm, qodana-php and qodana-python
  • project-dir - Project folder to inspect (default ${{ github.workspace }})
  • results-dir - Save results to folder (default ${{ github.workspace }}/qodana)
  • cache-dir - Save cache to folder (default /home/runner/work/_temp/_github_home/qodana-cache)
  • inspected-dir - Directory to be inspected. If not specified, the whole project is inspected by default
  • baseline - Run in baseline mode. Provide the path to an exisitng SARIF report to be used in the baseline state calculation
  • baseline-include-absent - Include in the output report the results from the baseline run that are absent in the current run (default false)
  • fail-threshold - Set the number of problems that will serve as a quality gate. If this number is reached, the inspection run is terminated
  • save-html-report - Generate HTML report (default false)
  • profile-name - Name of a profile defined in project
  • profile-path - Absolute path to the profile file
  • gradle-settings-path - Provide path to gradle.properties file (for example: /your/custom/path/gradle.properties)
  • additional-volumes - Additional volumes to mount to qodana docker image
  • additional-env-variables - Additional environment variables to pass to qodana docker image
- name: Qodana - Android
  uses: JetBrains/[email protected]
  with:
    linter: qodana-jvm-android
- name: Qodana - JVM
  uses: JetBrains/[email protected]
  with:
    linter: qodana-jvm
    fail-threshold: 10
    additional-env-variables: |
        IDEA_PROPERTIES='/data/project/idea.properties'

Output Results

An example of the Qodana command-line summary output:

---- Qodana ----

2 problem(s) with Critical severity
 - Category(ies): General

1 problem(s) with Moderate severity
 - Category(ies): Code style

---- Problems reported: 3 ----

License

Using Qodana docker image you agree to JetBrains EAP user agreement and JetBrains privacy policy. The docker image includes an evaluation license which will expire in 30-day. Please ensure you pull a new image on time.

qodana-action-eap's People

Contributors

a-kuznetsova avatar tiulpin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

isabella232

qodana-action-eap's Issues

Qodana linter fails on self-hosted action runner

Pull down action image 'jetbrains/qodana-jvm-community'
/usr/bin/docker pull jetbrains/qodana-jvm-community
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=jetbrains%2Fqodana-jvm-community&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Using default tag: latest
Warning: Docker pull failed with exit code 1, back off 8.104 seconds before retry.
/usr/bin/docker pull jetbrains/qodana-jvm-community
Using default tag: latest
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=jetbrains%2Fqodana-jvm-community&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Warning: Docker pull failed with exit code 1, back off 2.67 seconds before retry.
/usr/bin/docker pull jetbrains/qodana-jvm-community
Using default tag: latest
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/create?fromImage=jetbrains%2Fqodana-jvm-community&tag=latest": dial unix /var/run/docker.sock: connect: permission denied
Error: Docker pull failed with exit code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.