Python bindings via pybind11 #2
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: Pre-Commit Hooks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
lfs: true | |
- name: Install dependencies | |
run: | | |
sudo snap install shellcheck shfmt | |
python -m pip install --upgrade pip | |
pip install pre-commit | |
- name: Check | |
run: | | |
pre-commit run --all-files |