Skip to content

Commit

Permalink
Add qodana CI checks (#1)
Browse files Browse the repository at this point in the history
* Add qodana.yaml file

* Add github workflow file

* chore:qodana_code_quality을 수정한다

---------

Co-authored-by: Qodana Application <[email protected]>
Co-authored-by: 황재웅 <[email protected]>
  • Loading branch information
3 people authored Sep 30, 2024
1 parent 3907419 commit bb50b62
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Qodana
on:
pull_request:
push:
branches:
- main
- develop
- 'feat-*'
- 'releases-*'

jobs:
qodana:
runs-on: ubuntu-22.04
permissions:
contents: read
pull-requests: write
checks: write
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
args: --baseline,qodana.sarif.json
pr-mode: true
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN_624885005 }}

- name: 'Display Qodana logs'
if: failure()
run: |
echo "Qodana logs:"
cat /home/runner/work/_temp/qodana/results/qodana.sarif.json
6 changes: 6 additions & 0 deletions qodana.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: "1.0"
linter: jetbrains/qodana-js:2024.1
profile:
name: qodana.recommended
include:
- name: CheckDependencyLicenses

0 comments on commit bb50b62

Please sign in to comment.