Commit 06fd9ad
authored
🩹 [Patch]: Bump Invoke-ScriptAnalyzer to v5.0.0 and Test-PSModule to v3.0.14 (#380)
Brings Process-PSModule's lint/test action dependencies to their latest
releases: `PSModule/Invoke-ScriptAnalyzer` v4.1.3 → v5.0.0 and
`PSModule/Test-PSModule` v3.0.13 → v3.0.14. Both preserve the reusable
workflow's `Settings.Version`/`Settings.Prerelease` contract for
consumers.
## Changed: Invoke-ScriptAnalyzer upgraded to v5.0.0
Invoke-ScriptAnalyzer v5.0.0 is a major release that repurposed its
`Version`/`Prerelease` inputs to select the **PSScriptAnalyzer** module
version and moved the GitHub bootstrap-module controls to
`GitHubVersion`/`GitHubPrerelease`.
The `Lint-SourceCode` and `Lint-Module` steps pass
`Settings.Version`/`Settings.Prerelease`, which in this ecosystem select
the **GitHub module** (the same values feed the Invoke-Pester and
GitHub-Script steps). They are now wired to Invoke-ScriptAnalyzer's
`GitHubVersion`/`GitHubPrerelease`, so those settings keep controlling
the GitHub module exactly as before. No change to the `Settings`
contract.
With v5, the action also installs PSScriptAnalyzer itself (latest, since
its `Version` is left unset) instead of relying on the runner's
preinstalled copy — so consumer linting now runs against the latest
PSScriptAnalyzer.
## Changed: Test-PSModule upgraded to v3.0.14
Patch release; Test-PSModule v3.0.14 (which internally bumped
Invoke-Pester to v5.1.0) preserves its own `Version`/`Prerelease`
(GitHub module) contract, so the `Test-SourceCode` and `Test-Module`
steps need only a SHA update — no input remap.
## Technical Details
- `Lint-SourceCode.yml`, `Test-Module.yml`: `Invoke-ScriptAnalyzer`
`6aeb1bc` (v4.1.3) → `4d633e4` (v5.0.0); remapped `Version` →
`GitHubVersion`, `Prerelease` → `GitHubPrerelease`.
- `Test-Module.yml`, `Test-SourceCode.yml`: `Test-PSModule` `25c9cd8`
(v3.0.13) → `902c5e5` (v3.0.14).
- Pester and PSScriptAnalyzer versions left at the v5 defaults (latest);
not wired to any `Settings` key.
- Scope: the Invoke-Pester step (`Test-ModuleLocal.yml`, still v4.2.6)
is intentionally untouched.
- Label note: the `Settings` contract is preserved (hence `Patch`), but
consumer linting now runs against the latest PSScriptAnalyzer — bump to
`Minor` if you'd rather signal that behavior change.
Release notes: [Invoke-ScriptAnalyzer
v5.0.0](https://github.com/PSModule/Invoke-ScriptAnalyzer/releases/tag/v5.0.0)1 parent d4020f3 commit 06fd9ad
3 files changed
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | | - | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | | - | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments