Use pybind11::gil_safe_call_once_and_store for thread-safe singleto…
#427
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
| # ref: https://github.com/actions/runner-images | |
| name: pre-commit | |
| # Controls when the action will run. | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| - uses: pre-commit/[email protected] | |
| with: | |
| # Slow hooks are marked with manual - slow is okay here, run them too | |
| extra_args: --hook-stage manual --all-files |