Skip to content

Update alpine Docker tag to v3.23.0 #1161

Update alpine Docker tag to v3.23.0

Update alpine Docker tag to v3.23.0 #1161

Workflow file for this run

name: Unit tests CI
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
permissions: read-all
jobs:
tests:
name: Execute unit tests
runs-on: ${{ matrix.os }}
permissions:
contents: write
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, windows-latest, macos-13 ] # pin macos to latest x64 image
steps:
- name: Checkout code changes
uses: actions/checkout@v6
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v3
with:
# bump: ffmpeg-ci /ffmpeg-version: '([\d.]+)'/ docker:mwader/static-ffmpeg|~7.0
ffmpeg-version: '7.0.2'
- name: Setup Java
uses: actions/setup-java@v5
with:
distribution: temurin
java-version: 25
- name: Setup project and upload dependency graph
uses: gradle/actions/setup-gradle@v4
with:
dependency-graph: generate-and-submit
build-scan-publish: true
build-scan-terms-of-use-url: 'https://gradle.com/help/legal-terms-of-use'
build-scan-terms-of-use-agree: 'yes'
- name: Execute tests
shell: bash
run: ./gradlew test
- name: Upload coverage report
uses: actions/upload-artifact@v5
if: runner.os == 'Linux'
with:
name: coverage_report
path: .qodana/code-coverage/report.xml
retention-days: 1
if-no-files-found: error
qodana:
name: Perform Qodana analysis
if: ${{ vars.QODANA_ENABLED == 'true' }}
needs: tests
runs-on: ubuntu-latest
permissions:
checks: write
security-events: write
steps:
- name: Checkout code changes
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
fetch-depth: 0
- name: Download coverage report
uses: actions/download-artifact@v6
with:
name: coverage_report
path: .qodana/code-coverage
- name: Execute analysis
uses: JetBrains/[email protected]
env:
QODANA_TOKEN: ${{ secrets.QODANA_TOKEN }}
with:
args: '--baseline,qodana.baseline.json'
use-caches: false
post-pr-comment: false
pr-mode: false
- name: Upload results to GitHub
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json