Skip to content

Commit 4afdbec

Browse files
authored
build(ci): pin the tools these workflows install at runtime (#100)
A tool installed with `pip install <name>` or `npm install -g <name>` resolves to whatever is newest at the moment the job runs. That is a dependency like any other -- it executes in CI, and in some repos it feeds a publish -- but it was outside the pinning survey, which only looked at package manifests. Each pin carries a `# renovate:` comment, so it is tracked rather than merely frozen. The custom manager in reqstool/.github picks them up and will raise the upgrades as ordinary PRs. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
1 parent 6261902 commit 4afdbec

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ jobs:
5555
with:
5656
python-version: "3.13"
5757
- name: Install dependencies
58-
run: pip install hatch
58+
# renovate: datasource=pypi depName=hatch
59+
run: pip install hatch==1.18.0
5960
- name: Build wheel (used by e2e tests via PIP_FIND_LINKS)
6061
run: hatch build --target wheel
6162
- name: Run tests

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
with:
1515
python-version: "3.13"
1616
- name: Install pip package(s)
17-
run: pip install hatch
17+
# renovate: datasource=pypi depName=hatch
18+
run: pip install hatch==1.18.0
1819
- name: Run black formatter check
1920
run: hatch run dev:black --check --verbose src tests
2021
- name: Run flake8 linter

0 commit comments

Comments
 (0)