Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add qodana CI checks #11

Merged
merged 2 commits into from
Dec 9, 2024
Merged

Add qodana CI checks #11

merged 2 commits into from
Dec 9, 2024

Conversation

qodana-cloud[bot]
Copy link

@qodana-cloud qodana-cloud bot commented Dec 9, 2024

Adds qodana.yaml and GitHub workflow file that runs Qodana static analysis on each pull request.

Summary by Sourcery

CI:

  • Introduce a GitHub workflow file to run Qodana static analysis on each pull request and push to the main and release branches.

Copy link

sourcery-ai bot commented Dec 9, 2024

Reviewer's Guide by Sourcery

This PR implements Qodana static code analysis integration by adding two configuration files: a GitHub workflow for CI/CD and a Qodana configuration file. The workflow is set up to run on pull requests, pushes to main branch and release branches, and manual triggers. Qodana is configured to use the JVM linter with recommended profile settings and license checking enabled.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Set up GitHub Actions workflow for Qodana static analysis
  • Configure workflow triggers for pull requests, pushes to main and release branches, and manual dispatch
  • Set up required GitHub permissions for contents, pull requests, and checks
  • Configure checkout action with full history and actual PR commit
  • Set up Qodana scan action with cloud endpoint configuration
.github/workflows/qodana_code_quality.yml
Configure Qodana analysis settings
  • Set up JVM linter version 2024.2
  • Enable recommended Qodana profile
  • Add dependency license checking
qodana.yaml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, qodana-cloud[bot]!). We assume it knows what it's doing!

Copy link

github-actions bot commented Dec 9, 2024

Qodana for JVM

It seems all right 👌

No new problems were found according to the checks applied

☁️ View the detailed Qodana report

Contact Qodana team

Contact us at [email protected]

@CrzyHAX91 CrzyHAX91 merged commit f833df2 into main Dec 9, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants