add API workflow guides and jupyter notebooks #118
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: | |
| workflow_dispatch: | |
| pull_request: | |
| push: | |
| branches: [develop, main] | |
| jobs: | |
| run-pre-commit: | |
| name: Run Pre-Commit | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout codes | |
| id: checkout-codes | |
| uses: actions/checkout@v4.2.2 | |
| - name: Setup python | |
| id: setup-python | |
| uses: actions/setup-python@v5.4.0 | |
| with: | |
| python-version: 3.12.8 | |
| architecture: x64 | |
| - name: Install dependencies | |
| id: install-dependencies | |
| run: make install | |
| - name: Run pre-commit | |
| id: run-pre-commit | |
| uses: pre-commit/action@v3.0.1 |