Commit 91ae3e5
chore: Pin Pester 5.8.0 and update PSScriptAnalyzer to 1.25.0 (#129)
## Summary
- Pin Pester to 5.8.0 (current stable, published 2026-06-30) in
`requirements.psd1`. It previously floated via `MinimumVersion =
'5.6.1'`, so CI installed whatever the newest release was at bootstrap
time — this makes CI deterministic.
- Update PSScriptAnalyzer from 1.24.0 to 1.25.0, the latest stable
release (2026-03-20).
- Stop duplicating dependency versions in
`instructions/repository-specific.instructions.md`: the table now
describes each module's purpose and points to `requirements.psd1` as the
source of truth, so this class of PR never has to touch the instructions
again. Hardcoded module/task-runner version numbers are dropped for the
same reason.
- Add `tests/out/` to `.gitignore` — the Pester task writes
`tests/out/testResults.xml` on every run (for the CI artifact upload),
leaving untracked clutter after local test runs.
The consumer-facing minimum in `PowerShellBuild.psd1` (`Pester >= 5.6.1`
in `RequiredModules`) is intentionally unchanged — raising it would
force the new version on consumers, which is a separate decision.
## Test Plan
- [x] Full local run of `./build.ps1 -Task Test` with the exact pinned
versions (psake 4.9.0, PSScriptAnalyzer 1.25.0, Pester 5.8.0): 314
passed, 0 failed, Analyze clean (warnings only).
- [x] `git check-ignore tests/out/testResults.xml` confirms the new
ignore rule matches.
- [x] CI matrix green on all platforms.
## Breaking Changes
None (build-time dependencies and repo docs only).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_01JHgRWPi4D2aun7CEtwLz7T
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent 3c5277d commit 91ae3e5
3 files changed
Lines changed: 18 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
0 commit comments