readme: Add OpenSSF Best Practices badge #182
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: Clang Static Analyzer | |
on: [push, pull_request] | |
jobs: | |
clang_static_analyzer: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout code including full history and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- name: Install dependencies from APT repository | |
run: | | |
sudo apt-get update | |
sudo apt-get install clang-tools-14 cmake libcunit1-dev ninja-build unzip wget | |
- name: Run Clang Static Analyzer | |
run: tools/ci/run_ci.sh --run-build --scan-build scan-build-14 | |
- name: Upload scan build reports | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Clang Static Analyzer Reports | |
path: build-wakaama/clang-static-analyzer |