Skip to content

Commit cf5ec1e

Browse files
committed
Split workflow in 2 jobs
1 parent 525ed91 commit cf5ec1e

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

‎.github/workflows/unit-test.yml‎

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@ jobs:
1919
runs-on: ubuntu-latest
2020
permissions:
2121
contents: write
22-
checks: write
23-
security-events: write
2422
env:
2523
# bump: FFmpeg /FF_VERSION: '([\d.]+)'/ docker:mwader/static-ffmpeg|/\d+\./|*
2624
FF_VERSION: '9.0'
2725
steps:
2826
- name: Checkout code changes
2927
uses: actions/checkout@v7
30-
with:
31-
ref: ${{ github.event.pull_request.head.sha || github.sha }}
32-
fetch-depth: 0
3328

3429
- name: Cache FFmpeg binaries
3530
id: cache-ffmpeg
@@ -67,6 +62,20 @@ jobs:
6762
- name: Execute tests
6863
run: ./gradlew check
6964

65+
qodana:
66+
name: Perform Qodana analysis
67+
needs: tests
68+
runs-on: ubuntu-latest
69+
permissions:
70+
checks: write
71+
security-events: write
72+
steps:
73+
- name: Checkout code changes
74+
uses: actions/checkout@v7
75+
with:
76+
ref: ${{ github.event.pull_request.head.sha || github.sha }}
77+
fetch-depth: 0
78+
7079
- name: Execute analysis
7180
uses: JetBrains/qodana-action@v2026.2.0
7281
env:

0 commit comments

Comments
 (0)