Fix handling float16_t scalar values #2543
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: checks | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.9" | |
| - name: Install pre-commit | |
| run: python -m pip install pre-commit | |
| - name: Record pre-commit version | |
| run: pre-commit --version | tee pre-commit-version.txt | |
| - name: Run pre-commit | |
| id: pre_commit | |
| run: pre-commit run --all-files | |
| - name: Upload pre-commit version | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pre-commit-version | |
| path: pre-commit-version.txt |