🌟 [Major]: Introducing the Invoke-ScriptAnalyzer GitHub Action
#1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This pull request introduces the
Invoke-ScriptAnalyzerGitHub Action.Workflow Updates:
.github/workflows/Action-Test-Src-Default.yml: A workflow for testing source code without a manifest..github/workflows/Action-Test-Src-WithManifest.yml: A workflow for testing source code with a manifest..github/workflows/Action-Test-outputs.yml: A workflow for testing output modules..github/workflows/ActionTestWorkflow.yml: Added a reusable workflow configuration for action tests, supporting multiple operating systems and dynamic inputs.Action Configuration:
Action Metadata:
action.yml: Updated the action metadata to reflect the new name and description, and revised the inputs and outputs for better clarity and functionality.Main Script Update:
scripts/main.ps1: Refactored the main script to handle different test types and resolve paths dynamically.Documentation Enhancements:
README.md:
README.md: Updated the README to provide detailed information about the action, its inputs, outputs, and usage examples.Settings File Documentation:
SettingsFileDocumentation.md: Added comprehensive documentation for the PSScriptAnalyzer settings file format and usage.Additional Changes:
scripts/tests/PSScriptAnalyzer/Module.Settings.psd1: Added a new settings file for module tests.scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Configuration.ps1: Added a configuration file for PSScriptAnalyzer.scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Container.ps1: Added a container configuration script for running tests.Type of change
Checklist