|
18 | 18 | strategy: |
19 | 19 | fail-fast: false |
20 | 20 | matrix: |
21 | | - os: [ ubuntu-latest, windows-latest, macos-13 ] # pin macos to latest x64 image |
| 21 | + os: [ ubuntu-latest ] # pin macos to latest x64 image |
22 | 22 | steps: |
23 | 23 | - name: Checkout code changes |
24 | 24 | uses: actions/checkout@v4 |
|
28 | 28 | with: |
29 | 29 | # bump: ffmpeg-ci /ffmpeg-version: '([\d.]+)'/ docker:mwader/static-ffmpeg|~7.0 |
30 | 30 | ffmpeg-version: '7.0.2' |
31 | | - |
32 | | - - name: Setup Java |
33 | | - uses: actions/setup-java@v4 |
34 | | - with: |
35 | | - distribution: zulu |
36 | | - java-version: 24 |
37 | | - |
38 | | - - name: Setup project and upload dependency graph |
39 | | - uses: gradle/actions/setup-gradle@v4 |
40 | | - with: |
41 | | - dependency-graph: generate-and-submit |
42 | | - build-scan-publish: true |
43 | | - build-scan-terms-of-use-url: 'https://gradle.com/help/legal-terms-of-use' |
44 | | - build-scan-terms-of-use-agree: 'yes' |
45 | | - |
46 | | - - name: Execute tests |
47 | | - run: ./gradlew test |
48 | | - |
49 | | - - name: Upload coverage report |
50 | | - uses: actions/upload-artifact@v4 |
51 | | - if: runner.os == 'Linux' |
52 | | - with: |
53 | | - name: coverage_report |
54 | | - path: .qodana/code-coverage/report.xml |
55 | | - retention-days: 1 |
56 | | - if-no-files-found: error |
57 | | - |
58 | | - qodana: |
59 | | - name: Perform Qodana analysis |
60 | | - needs: tests |
61 | | - runs-on: ubuntu-latest |
62 | | - steps: |
63 | | - - name: Checkout code changes |
64 | | - uses: actions/checkout@v4 |
65 | | - with: |
66 | | - ref: ${{ github.event.pull_request.head.sha }} |
67 | | - fetch-depth: 0 |
68 | | - |
69 | | - - name: Download coverage report |
70 | | - uses: actions/download-artifact@v4 |
71 | | - with: |
72 | | - name: coverage_report |
73 | | - path: .qodana/code-coverage |
74 | | - |
75 | | - - name: Execute analysis |
76 | | - uses: JetBrains/qodana-action@main |
77 | | - env: |
78 | | - QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }} |
79 | | - with: |
80 | | - args: '--baseline,qodana.baseline.json' |
81 | | - use-caches: false |
82 | | - post-pr-comment: false |
83 | | - pr-mode: false |
84 | | - |
85 | | - - name: Upload results to GitHub |
86 | | - uses: github/codeql-action/upload-sarif@v3 |
87 | | - with: |
88 | | - sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json |
0 commit comments