File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Qodana
2+
23on :
34 workflow_dispatch :
45 pull_request :
56 push :
6- branches : # Specify your branches here
7+ branches :
78 - main
89 - master
910 - ' releases/*'
@@ -16,15 +17,33 @@ jobs:
1617 pull-requests : write
1718 checks : write
1819 steps :
20+ # Check out the code
1921 - uses : actions/checkout@v3
2022 with :
2123 ref : ${{ github.event.pull_request.head.sha }}
2224 fetch-depth : 0
25+
26+ # Set up Python (you can specify the version you need)
27+ - name : Set up Python
28+ uses : actions/setup-python@v4
29+ with :
30+ python-version : ' 3.12' # Set this to your desired Python version
31+
32+ - name : Install Poetry
33+ run : |
34+ python -m pip install --upgrade pip
35+ pip install poetry
36+
37+ - name : Install dependencies with Poetry
38+ run : |
39+ poetry install
40+
41+ # Run Qodana scan
2342 - name : ' Qodana Scan'
2443 uses : JetBrains/qodana-action@v2024.3
2544 with :
2645 pr-mode : false
2746 args : --apply-fixes
2847 push-fixes : pull-request
2948 env :
30- QODANA_TOKEN : ${{ secrets.QODANA }}
49+ QODANA_TOKEN : ${{ secrets.QODANA }}
Original file line number Diff line number Diff line change 1919 - name : Setup Python
2020 uses : actions/setup-python@v3
2121 with :
22- python-version : " 3.10 "
22+ python-version : " 3.12 "
2323
2424 - name : Install Poetry
2525 run : |
You can’t perform that action at this time.
0 commit comments