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

Try fix edit qodana ci config #980

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/publish-v4-kdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
env:
JAVA_VERSION: 21
JAVA_DISTRIBUTION: zulu
GRADLE_VERSION: 8.5
GRADLE_VERSION: 8.6
IS_CI: true
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-v4-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
env:
JAVA_VERSION: 21
JAVA_DISTRIBUTION: zulu
GRADLE_VERSION: 8.5
GRADLE_VERSION: 8.6
NODE_VERSION: 22
IS_CI: true
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-v4-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on: # push
env:
JAVA_VERSION: 21
JAVA_DISTRIBUTION: zulu
GRADLE_VERSION: 8.5
GRADLE_VERSION: 8.6
NODE_VERSION: 22
IS_CI: true
GPG_KEY_ID: ${{ secrets.GPG_KEY_ID }}
Expand Down
20 changes: 19 additions & 1 deletion .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
branches:
- v4-dev

env:
JAVA_VERSION: 21
JAVA_DISTRIBUTION: zulu
GRADLE_VERSION: 8.6

jobs:
qodana:
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
Expand All @@ -15,10 +20,24 @@ jobs:
pull-requests: write
checks: write
steps:
- uses: actions/setup-java@v4
with:
distribution: ${{ env.JAVA_DISTRIBUTION }}
java-version: ${{ env.JAVA_VERSION }}
cache: 'gradle'

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0 # a full history is required for pull request analysis

- name: 'Setup Gradle'
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: ${{ env.GRADLE_VERSION }}

- run: gradle assemble -i -s -x test --warning-mode all --build-cache

- name: 'Qodana Scan'
# https://www.jetbrains.com/help/qodana/github.html#Usage
uses: JetBrains/[email protected]
Expand All @@ -30,4 +49,3 @@ jobs:
GITHUB_TOKEN: ${{ secrets.FORLIY_ACCESS_TOKEN }}



2 changes: 1 addition & 1 deletion .github/workflows/test-v4-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
JAVA_VERSION: 21
JAVA_DISTRIBUTION: zulu
GRADLE_VERSION: 8.5
GRADLE_VERSION: 8.6
NODE_VERSION: 22
IS_CI: true
GRADLE_OPTS: "-Dfile.encoding=UTF-8"
Expand Down
5 changes: 3 additions & 2 deletions qodana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ projectJDK: azul-21 #(Applied in CI/CD pipeline)
#plugins:
# - id: <plugin.id> #(plugin id can be found at https://plugins.jetbrains.com)

#Specify Qodana linter for analysis (Applied in CI/CD pipeline)
linter: jetbrains/qodana-jvm-community:latest
# Specify Qodana linter for analysis (Applied in CI/CD pipeline)
# https://www.jetbrains.com/help/qodana/linters.html
linter: jetbrains/qodana-jvm-community:2024.2
Loading