Skip to content

Fix path processing #2406

Fix path processing

Fix path processing #2406

Workflow file for this run

# Copyright 2020-2024, Intel Corporation
# SPDX-License-Identifier: BSD-3-Clause
name: Check code formatting
permissions: read-all
on: [push, pull_request]
jobs:
check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
echo "APT::Acquire::Retries \"3\";" | sudo tee -a /etc/apt/apt.conf.d/80-retries
sudo apt-get update
sudo apt-get install -y clang-format-12 clang-12
sudo ln -sf /usr/bin/clang-12 /usr/bin/clang
sudo ln -sf /usr/bin/clang-format-12 /usr/bin/clang-format
- name: Check format
run: |
./check_format.sh