Files
gsmartcontrol/.github/workflows/devskim-analysis.yml
Alexander ShaduriandClaude Opus 5.5 a2ba01f4d9 CI: Harden and extend workflows
- Cancel superseded PR runs (concurrency), restrict the default token to
  contents: read, and set timeout-minutes on every job.
- Bundle smartmontools 7.5 (was 7.4) in Windows packages.
- Add Dependabot updates for GitHub Actions.
- Tier 2: build Linux with clang (Ubuntu 24.04 / clang 18, Ubuntu 26.04 /
  clang 22); re-enable the macOS Apple Clang build and use Homebrew
  LLVM 20 instead of 17.
- Add a clang-tidy workflow (warnings summarized, non-fatal) and an
  ASan + UBSan workflow that runs the tests.
- CodeQL: build manually with the project's CMake configuration instead
  of autobuild, and drop the template boilerplate.
- FreeBSD: pin release 15.1, use LLVM 23 and fix the compiler name
  (FreeBSD installs clang++NN, not clang++-NN).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-25 19:11:41 +01:00

45 lines
1.1 KiB
YAML

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: DevSkim
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '25 22 * * 0'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
jobs:
lint:
name: DevSkim
runs-on: ubuntu-24.04
timeout-minutes: 15
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@v7
- name: Run DevSkim scanner
uses: microsoft/DevSkim-Action@v1
with:
ignore-globs: dummy_to_avoid_action_error,**/.git/**,*.txt,**/dependencies/**,env_tools.h,app_gtkmm_tools.cpp
- name: Upload DevSkim scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v4
with:
sarif_file: devskim-results.sarif