Simplify tt_SiliconDevice construction #434
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
# Mandatory PR checks | |
name: On PR | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build-all: | |
secrets: inherit | |
uses: ./.github/workflows/build-device.yml | |
with: | |
timeout: 15 | |
pre-commit: | |
name: Run Pre-commit Hooks and Propose Fixes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Fetch all history so 'origin/main' is available | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Run Pre-commit and Fix Issues | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: "--from-ref origin/main --to-ref HEAD" |