checks #432
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
# SPDX-FileCopyrightText: 2020 Intel Corporation | |
# | |
# SPDX-License-Identifier: MIT | |
name: checks | |
permissions: read-all | |
on: [push, pull_request] | |
jobs: | |
checks: | |
runs-on: Ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- name: Install prerequisites | |
run: | | |
sudo apt-get install -qq clang-format | |
python -m pip install --quiet --upgrade pip | |
pip install --quiet -r requirements.txt | |
- name: Run checks | |
run: pre-commit run --all |