Skip to content

Merge pull request #3413 from The-OpenROAD-Project-staging/is_int-con… #342

Merge pull request #3413 from The-OpenROAD-Project-staging/is_int-con…

Merge pull request #3413 from The-OpenROAD-Project-staging/is_int-con… #342

name: Lint Tcl code
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ vars.USE_SELF_HOSTED == 'true' && 'self-hosted' || 'ubuntu-latest' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Dependencies
run: |
python3 -m venv venv
venv/bin/pip install tclint==0.4.2
- name: Lint
run: |
source venv/bin/activate
tclfmt --version
tclfmt --in-place .
git diff --exit-code
tclint --no-check-style .