Open cdhunt opened 5 months ago
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.
This PR works for PowerShell 7.4. All tests pass. Some tests fail against 7.2 and 7.3. The latest version of Humanizer doesn't work on 5.1 with simple
netstandard2.0
targeting. It might be possible to get working with some additional work, but I don't have much incentive to make that time investment.The files have been reorganized. The Humanizer library is pulled from Nuget and includes all available cultures. I haven't tested any and culture isn't explicitly passed to any methods, but it might work.
Help has been added to all of the functions and markdown generated.
Tests have been updated to use Pester 5.5.
build.ps1 handles most of the CI work including generating the PSD1 dynamically. A GitHub Actions workflow runs PSScriptAnalyzer and tests for multiple versions of PS. The repo needs a
NUGETAPIKEY
secret for publishing to the PowerShellGallery.Fixes #17, #10