Download chips/openroad_flow_scripts/.github/workflows/github-actions-lint-tcl.yml from STAR-future/Trinity-SciData: direct link, hf CLI and curl.
- Browser
- Download file 799 Bytes
-
https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/.github/workflows/github-actions-lint-tcl.yml
- Command line
-
hf download hf://datasets/STAR-future/Trinity-SciData/chips/openroad_flow_scripts/.github/workflows/github-actions-lint-tcl.yml
-
curl -L -o github-actions-lint-tcl.yml https://huggingface.co/datasets/STAR-future/Trinity-SciData/resolve/main/chips/openroad_flow_scripts/.github/workflows/github-actions-lint-tcl.yml
799 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-26.04' || 'ubuntu-26.04' }} | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.12" | |
| - 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 . | |