deps: update ort to v41 (major) #801
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |