Skip to content

ci: Enforce pinned pip dependencies #618

ci: Enforce pinned pip dependencies

ci: Enforce pinned pip dependencies #618

Workflow file for this run

name: Compliance
on: pull_request
jobs:
lint-code:
name: Run compliance checks
runs-on: ubuntu-24.04
steps:
- name: Checkout code including full history
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
- name: Install compliance tools
run: |
sudo apt update
sudo apt -qy --no-install-recommends install clang-format-14
pip3 install --require-hashes -r tools/requirements-compliance.txt
- name: Check commits with gitlint
run: |
tools/ci/run_ci.sh --branch-target origin/${{ github.base_ref }} --run-gitlint
- name: Check C code (delta) with clang-format
run: |
tools/ci/run_ci.sh --branch-target origin/${{ github.base_ref }} --run-clang-format
- name: Check CMakeLists.txt files with cmake-lint
run: |
tools/ci/run_ci.sh --run-cmake-format
- name: Check Python code with pylint
run: |
cd tests
pylint integration