Skip to content

Commit 458ce41

Browse files
committed
chore(ci): pin tclint deps to SHA256 hashes
Add .github/requirements/tclint.in and a pip-compile-generated lock file with SHA256 hashes. Update the lint-tcl workflow to install from the lock file and pin Python to 3.10 via actions/setup-python. Signed-off-by: Jack Luar <jluar@precisioninno.com>
1 parent 5748330 commit 458ce41

3 files changed

Lines changed: 70 additions & 1 deletion

File tree

‎.github/requirements/tclint.in‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tclint==0.7.0
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
4+
#
5+
# pip-compile --generate-hashes --output-file=.github/requirements/tclint_lock.txt .github/requirements/tclint.in
6+
#
7+
attrs==26.1.0 \
8+
--hash=sha256:c647aa4a12dfbad9333ca4e71fe62ddc36f4e63b2d260a37a8b83d2f043ac309 \
9+
--hash=sha256:d03ceb89cb322a8fd706d4fb91940737b6642aa36998fe130a9bc96c985eff32
10+
# via
11+
# cattrs
12+
# lsprotocol
13+
cattrs==26.1.0 \
14+
--hash=sha256:d1e0804c42639494d469d08d4f26d6b9de9b8ab26b446db7b5f8c2e97f7c3096 \
15+
--hash=sha256:fa239e0f0ec0715ba34852ce813986dfed1e12117e209b816ab87401271cdd40
16+
# via
17+
# lsprotocol
18+
# pygls
19+
exceptiongroup==1.3.1 \
20+
--hash=sha256:8b412432c6055b0b7d14c310000ae93352ed6754f70fa8f7c34141f91c4e3219 \
21+
--hash=sha256:a7a39a3bd276781e98394987d3a5701d0c4edffb633bb7a5144577f82c773598
22+
# via cattrs
23+
importlib-metadata==6.8.0 \
24+
--hash=sha256:3ebb78df84a805d7698245025b975d9d67053cd94c79245ba4b3eb694abe68bb \
25+
--hash=sha256:dbace7892d8c0c4ac1ad096662232f831d4e64f4c4545bd53016a3e9d4654743
26+
# via tclint
27+
lsprotocol==2023.0.1 \
28+
--hash=sha256:c75223c9e4af2f24272b14c6375787438279369236cd568f596d4951052a60f2 \
29+
--hash=sha256:cc5c15130d2403c18b734304339e51242d3018a05c4f7d0f198ad6e0cd21861d
30+
# via pygls
31+
pathspec==0.11.2 \
32+
--hash=sha256:1d6ed233af05e679efb96b1851550ea95bbb64b7c490b0f5aa52996c11e92a20 \
33+
--hash=sha256:e0d8d0ac2f12da61956eb2306b69f9469b42f4deb0f3cb6ed47b9cce9996ced3
34+
# via tclint
35+
ply==3.11 \
36+
--hash=sha256:00c7c1aaa88358b9c765b6d3000c6eec0ba42abca5351b095321aef446081da3 \
37+
--hash=sha256:096f9b8350b65ebd2fd1346b12452efe5b9607f7482813ffca50c22722a807ce
38+
# via tclint
39+
pygls==1.3.1 \
40+
--hash=sha256:140edceefa0da0e9b3c533547c892a42a7d2fd9217ae848c330c53d266a55018 \
41+
--hash=sha256:6e00f11efc56321bdeb6eac04f6d86131f654c7d49124344a9ebb968da3dd91e
42+
# via tclint
43+
tclint==0.7.0 \
44+
--hash=sha256:58b54bf333a96ef4b4eac3bde23da997a64a4414a4cdec8e5e0a9fbafb6dcd25 \
45+
--hash=sha256:bd605b11d44708e1537b902e63d7dd1d05f2d85c2c99a36854b157606eac1e8a
46+
# via -r .github/requirements/tclint.in
47+
tomli==2.0.2 \
48+
--hash=sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38 \
49+
--hash=sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed
50+
# via tclint
51+
typing-extensions==4.15.0 \
52+
--hash=sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466 \
53+
--hash=sha256:f0fa19c6845758ab08074a0cfa8b7aecb71c999ca73d62883bc25cc018c4e548
54+
# via
55+
# cattrs
56+
# exceptiongroup
57+
voluptuous==0.15.2 \
58+
--hash=sha256:016348bc7788a9af9520b1764ebd4de0df41fe2138ebe9e06fa036bf86a65566 \
59+
--hash=sha256:6ffcab32c4d3230b4d2af3a577c87e1908a714a11f6f95570456b1849b0279aa
60+
# via tclint
61+
zipp==4.1.0 \
62+
--hash=sha256:25ad4e16390cd314347dd8f1de67a2ac538ae658ed4ab9db16029c07c188e97f \
63+
--hash=sha256:4cb57381f544315db7688e976e922a2b18cdb513d21cc194eb42232ba2a3e602
64+
# via importlib-metadata

‎.github/workflows/github-actions-lint-tcl.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,14 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v6
1717

18+
- uses: actions/setup-python@v6
19+
with:
20+
python-version: "3.10"
21+
1822
- name: Install Dependencies
1923
run: |
2024
python3 -m venv venv
21-
venv/bin/pip install tclint==0.7.0
25+
venv/bin/pip install -r .github/requirements/tclint_lock.txt
2226
2327
- name: Lint
2428
run: |

0 commit comments

Comments
 (0)