🌟 [Major]: Introducing the Invoke-ScriptAnalyzer GitHub Action#1
Merged
MariusStorhaug merged 14 commits intomainfrom Feb 21, 2025
Merged
🌟 [Major]: Introducing the Invoke-ScriptAnalyzer GitHub Action#1MariusStorhaug merged 14 commits intomainfrom
Invoke-ScriptAnalyzer GitHub Action#1MariusStorhaug merged 14 commits intomainfrom
Conversation
…d streamline test configurations
…rences in main.ps1 and PSScriptAnalyzer.Container.ps1
…' and adjust suppress messages in PSScriptAnalyzer tests
…treamline job configurations
…ptAnalyzer action
Invoke-ScriptAnalyzer GitHubActionInvoke-ScriptAnalyzer GitHub Action
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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