verilog_data-1 / The-OpenROAD-Project_OpenROAD-flow-scripts /.github /workflows /github-actions-lint-tcl.yml
Add batch 5 (Luthiraa_TALOS-V2, dawsonjon_fpu, The-OpenROAD-Project_OpenROAD-flow-scripts, antonblanchard_microwatt, alexforencich_verilog-i2c)
784ee2c verified Download The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-lint-tcl.yml from SAIFIINDUSTRIES/verilog_data-1: direct link, hf CLI and curl.
- Browser
- Download file 787 Bytes
-
https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-lint-tcl.yml
- Command line
-
hf download hf://datasets/SAIFIINDUSTRIES/verilog_data-1/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-lint-tcl.yml
-
curl -L -o github-actions-lint-tcl.yml https://huggingface.co/datasets/SAIFIINDUSTRIES/verilog_data-1/resolve/main/The-OpenROAD-Project_OpenROAD-flow-scripts/.github/workflows/github-actions-lint-tcl.yml
787 Bytes
| name: Lint Tcl code | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| permissions: | |
| contents: read | |
| jobs: | |
| Tclint: | |
| runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Dependencies | |
| run: | | |
| python3 -m venv venv | |
| venv/bin/pip install -r .github/requirements/requirements_lock.txt | |
| - name: Lint | |
| run: | | |
| source venv/bin/activate | |
| tclfmt --version | |
| tclfmt --in-place . | |
| git diff --exit-code | |
| tclint . | |