Bump github/codeql-action from 3.28.15 to 3.28.16 #113
Workflow file for this run
This file contains hidden or 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: pre-commit | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
permissions: read-all | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout repo | |
uses: actions/[email protected] | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Set up pip packages | |
uses: BSFishy/pip-action@v1 | |
with: | |
packages: | | |
codespell | |
pylint | |
- name: Set up clang-format | |
run: | | |
sudo apt-get install -y clang-format-14 | |
sudo unlink /usr/bin/clang-format | |
sudo ln -s /usr/bin/clang-format-14 /usr/bin/clang-format | |
clang-format --version | |
- name: Run pre-commit checks | |
uses: pre-commit/[email protected] |