Skip to content

Commit

Permalink
add qoanda code quality check
Browse files Browse the repository at this point in the history
  • Loading branch information
bertramn committed Oct 19, 2023
1 parent 9c32f1f commit 49d3b60
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: Publish package to the Maven Central Repository
name: Build and publish to the Maven Central Repository
on:
release:
types: [ created ]
types:
- created
push:
branches:
- main
- develop
- releases/**

jobs:
publish:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/qodana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: Analyse code quality
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- develop

jobs:
qodana:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2023.2
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
9 changes: 9 additions & 0 deletions qodana.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
version: "1.0"

profile:
name: qodana.recommended

projectJDK: corretto-17

linter: jetbrains/qodana-jvm:latest

0 comments on commit 49d3b60

Please sign in to comment.