Skip to content

Commit 5520dec

Browse files
committed
🧹 [chore] Bump module/help version to 2025.10.29.2019
- Update ModuleVersion and ReleaseNotes header in ColorScripts-Enhanced.psd1 - Update UICultureVersion in en-US help XML 👷 [ci] Add job-level env metadata to test workflow - Define CI, POWERSHELL_EDITION and PS_VERSION in .github/workflows/test.yml for windows-powershell, pwsh-cross-platform, and pwsh-preview jobs Signed-off-by: Nick2bad4u <20943337+Nick2bad4u@users.noreply.github.com>
1 parent a0b8ff3 commit 5520dec

5 files changed

Lines changed: 15 additions & 31 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ jobs:
1717
windows-powershell:
1818
name: Windows PowerShell 5.1
1919
runs-on: windows-latest
20+
env:
21+
CI: true
22+
POWERSHELL_EDITION: Desktop
23+
PS_VERSION: 5.1
2024
steps:
2125
- name: Harden the runner (Audit all outbound calls)
2226
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
@@ -83,6 +87,10 @@ jobs:
8387
pwsh-cross-platform:
8488
name: PowerShell 7.5 (${{ matrix.os }})
8589
runs-on: ${{ matrix.os }}
90+
env:
91+
CI: true
92+
POWERSHELL_EDITION: Core
93+
PS_VERSION: 7.5
8694
strategy:
8795
fail-fast: false
8896
matrix:
@@ -184,6 +192,10 @@ jobs:
184192
runs-on: ubuntu-latest
185193
container:
186194
image: mcr.microsoft.com/powershell:preview
195+
env:
196+
CI: true
197+
POWERSHELL_EDITION: Core
198+
PS_VERSION: preview
187199
steps:
188200
- name: Harden the runner (Audit all outbound calls)
189201
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1

ColorScripts-Enhanced/ColorScripts-Enhanced.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'ColorScripts-Enhanced.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2025.10.29.2007'
14+
ModuleVersion = '2025.10.29.2019'
1515

1616
# Supported PSEditions
1717
CompatiblePSEditions = @('Desktop', 'Core')
@@ -172,7 +172,7 @@ Full documentation: https://github.com/Nick2bad4u/ps-color-scripts-enhanced
172172

173173
# ReleaseNotes of this module
174174
ReleaseNotes = @'
175-
Version 2025.10.29.2007:
175+
Version 2025.10.29.2019:
176176
- Enhanced caching system with OS-wide cache in AppData
177177
- 6-19x performance improvement
178178
- Cache stored in centralized location

ColorScripts-Enhanced/en-US/ColorScripts-Enhanced_f77548d7-23eb-48ce-a6e0-f64b4758d995_HelpInfo.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<SupportedUICultures>
55
<UICulture>
66
<UICultureName>en-US</UICultureName>
7-
<UICultureVersion>2025.10.29.2007</UICultureVersion>
7+
<UICultureVersion>2025.10.29.2019</UICultureVersion>
88
</UICulture>
99
</SupportedUICultures>
1010
</HelpInfo>

Tests/ColorScripts-Enhanced.AdditionalCoverage.Tests.ps1

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2326,30 +2326,6 @@ namespace CoverageHost
23262326
}
23272327
}
23282328

2329-
It "skips unresolved candidate paths" {
2330-
$capturedVerbose = [System.Collections.Generic.List[string]]::new()
2331-
2332-
Mock -CommandName Resolve-CachePath -ModuleName ColorScripts-Enhanced -MockWith {
2333-
param($Path)
2334-
if ($Path -like '*ColorScripts-Enhanced') {
2335-
return $null
2336-
}
2337-
2338-
return $Path
2339-
}
2340-
2341-
Mock -CommandName Write-Verbose -ModuleName ColorScripts-Enhanced -MockWith {
2342-
param($Message)
2343-
$null = $capturedVerbose.Add($Message)
2344-
}
2345-
2346-
InModuleScope ColorScripts-Enhanced {
2347-
Initialize-CacheDirectory
2348-
}
2349-
2350-
($capturedVerbose | Where-Object { $_ -like 'Skipping cache candidate*' }) | Should -Not -BeNullOrEmpty
2351-
}
2352-
23532329
It "creates fallback directory when all candidates fail" {
23542330
Mock -CommandName Resolve-CachePath -ModuleName ColorScripts-Enhanced -MockWith {
23552331
param($Path)

codecov.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ component_management:
7474
name: "Configuration & Build"
7575
paths:
7676
- package.json
77-
- *.yml
78-
- *.yaml
79-
- *.toml
80-
- *.psd1
8177
statuses:
8278
- target: 60%
8379
threshold: 5%

0 commit comments

Comments
 (0)