Skip to content

deps: update ort to v40 #796

deps: update ort to v40

deps: update ort to v40 #796

name: Static Analysis
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
commit-lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.yml
detekt:
runs-on: ubuntu-24.04
env:
GRADLE_OPTS: -Dorg.gradle.daemon=false
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Run Detekt
run: ./gradlew --stacktrace detekt
- name: Upload SARIF File
uses: github/codeql-action/upload-sarif@v3
if: ${{ always() }} # Upload even if the previous step failed.
with:
sarif_file: build/reports/detekt/detekt.sarif
reuse:
runs-on: ubuntu-24.04
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Check REUSE Compliance
run: |
pip install --user reuse
~/.local/bin/reuse lint