Skip to content

Commit

Permalink
[no ci] Update Qodana action
Browse files Browse the repository at this point in the history
  • Loading branch information
Seba244c committed Dec 8, 2023
1 parent c9cfac7 commit 5002744
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/qodana-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
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
- uses: JetBrains/qodana-action@v2023.2.8
- uses: JetBrains/qodana-action@v2023.2.9
name: Qodana Scan
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
fetch-depth: 0
- uses: JetBrains/qodana-action@v2023.2.8
- uses: JetBrains/qodana-action@v2023.2.9
name: Qodana Scan
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,10 @@ tasks.withType(JavaCompile).configureEach {
if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) {
it.options.release = targetJavaVersion
}
}

compileJava {
sourceCompatibility = '1.21'
targetCompatibility = '1.21'
options.release = targetJavaVersion;
}

0 comments on commit 5002744

Please sign in to comment.