Skip to content

Tags: PSModule/Invoke-ScriptAnalyzer

Tags

v3.0.0

Toggle v3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🌟 [Major: Bump `Invoke-Pester` to v4 (#15)

## Description

This pull request includes updates to the `action.yml` file, bumping the
version of the Ìnvoke-Pester` action and adjusting inputs to the updated
version.

### Step Summary Configuration Changes:
* 🌟 Removed the `StepSummary_Enabled` input to simplify the
configuration options.
* Introduced the `StepSummary_Mode` input to control which tests to show
in the GitHub step summary, replacing the `StepSummary_ShowTests` input.
* Changed the default value of `StepSummary_ShowTestOverview` to `false`
to align with the new configuration approach.

### Pester Module Update:

* Updated the Pester module usage from version 3 to version 4 to ensure
compatibility with the latest features and improvements.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [x] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v3.0

Toggle v3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🌟 [Major: Bump `Invoke-Pester` to v4 (#15)

## Description

This pull request includes updates to the `action.yml` file, bumping the
version of the Ìnvoke-Pester` action and adjusting inputs to the updated
version.

### Step Summary Configuration Changes:
* 🌟 Removed the `StepSummary_Enabled` input to simplify the
configuration options.
* Introduced the `StepSummary_Mode` input to control which tests to show
in the GitHub step summary, replacing the `StepSummary_ShowTests` input.
* Changed the default value of `StepSummary_ShowTestOverview` to `false`
to align with the new configuration approach.

### Pester Module Update:

* Updated the Pester module usage from version 3 to version 4 to ensure
compatibility with the latest features and improvements.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [x] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v3

Toggle v3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🌟 [Major: Bump `Invoke-Pester` to v4 (#15)

## Description

This pull request includes updates to the `action.yml` file, bumping the
version of the Ìnvoke-Pester` action and adjusting inputs to the updated
version.

### Step Summary Configuration Changes:
* 🌟 Removed the `StepSummary_Enabled` input to simplify the
configuration options.
* Introduced the `StepSummary_Mode` input to control which tests to show
in the GitHub step summary, replacing the `StepSummary_ShowTests` input.
* Changed the default value of `StepSummary_ShowTestOverview` to `false`
to align with the new configuration approach.

### Pester Module Update:

* Updated the Pester module usage from version 3 to version 4 to ensure
compatibility with the latest features and improvements.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [x] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🚀 [Feature]: Add more inputs outputs from `Pester` (#14)

## Description

This pull request includes significant changes to the GitHub Actions
workflow and configuration files. The key updates involve simplifying
the workflow script, adding new input and outputs, and updating
documentation to reflect these changes.

### Simplification of Workflow Script:
*
[`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4L141-R142):
Replaced the detailed PowerShell script for aggregating job statuses
with a single line calling a new script `Get-AggregatedStatus.ps1`.

### Addition of New Inputs and Outputs:
*
[`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L38-R249):
Added multiple new input parameters to control various aspects of the
test run and reporting, such as JSON report output, GitHub step summary
options, code coverage settings, and test result configurations.

### Documentation Updates:
*
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L19-R84):
Updated to include descriptions of the new input parameters and outputs,
providing detailed information on their usage and default values.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.1

Toggle v2.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🚀 [Feature]: Add more inputs outputs from `Pester` (#14)

## Description

This pull request includes significant changes to the GitHub Actions
workflow and configuration files. The key updates involve simplifying
the workflow script, adding new input and outputs, and updating
documentation to reflect these changes.

### Simplification of Workflow Script:
*
[`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4L141-R142):
Replaced the detailed PowerShell script for aggregating job statuses
with a single line calling a new script `Get-AggregatedStatus.ps1`.

### Addition of New Inputs and Outputs:
*
[`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L38-R249):
Added multiple new input parameters to control various aspects of the
test run and reporting, such as JSON report output, GitHub step summary
options, code coverage settings, and test result configurations.

### Documentation Updates:
*
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L19-R84):
Updated to include descriptions of the new input parameters and outputs,
providing detailed information on their usage and default values.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.0.9

Toggle v2.0.9's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🩹 [Patch]: Remove GITHUB_TOKEN environment variable from Auto-Release (

…#13)

## Description

This pull request includes a small change to the
`.github/workflows/Auto-Release.yml` file. The change removes the `env`
section that was used for GitHub CLI authentication.

Changes to `.github/workflows/Auto-Release.yml`:

* Removed the `env` section that contained the `GITHUB_TOKEN` used for
GitHub CLI authentication. This is now included in the Auto-Release
action.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.0.8

Toggle v2.0.8's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🩹 [Patch]: Add retry on `Install-PSResource` (#12)

## Description

This pull request includes changes to the
`.github/workflows/Action-Test.yml` file to improve the reliability of
module installation by adding retry logic.

Improvements to module installation:

*
[`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4L141-R160):
Added a retry mechanism for the `Install-PSResource` command to handle
potential installation failures more gracefully. This includes retrying
the installation up to 5 times with a 10-second delay between attempts
and logging appropriate messages.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.0

Toggle v2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🩹 [Patch]: Remove GITHUB_TOKEN environment variable from Auto-Release (

…#13)

## Description

This pull request includes a small change to the
`.github/workflows/Auto-Release.yml` file. The change removes the `env`
section that was used for GitHub CLI authentication.

Changes to `.github/workflows/Auto-Release.yml`:

* Removed the `env` section that contained the `GITHUB_TOKEN` used for
GitHub CLI authentication. This is now included in the Auto-Release
action.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2

Toggle v2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🚀 [Feature]: Add more inputs outputs from `Pester` (#14)

## Description

This pull request includes significant changes to the GitHub Actions
workflow and configuration files. The key updates involve simplifying
the workflow script, adding new input and outputs, and updating
documentation to reflect these changes.

### Simplification of Workflow Script:
*
[`.github/workflows/Action-Test.yml`](diffhunk://#diff-a12ae5c885b0673c0ff6f70c2670886907590d624626e07da4c52e01aeaf56a4L141-R142):
Replaced the detailed PowerShell script for aggregating job statuses
with a single line calling a new script `Get-AggregatedStatus.ps1`.

### Addition of New Inputs and Outputs:
*
[`action.yml`](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L38-R249):
Added multiple new input parameters to control various aspects of the
test run and reporting, such as JSON report output, GitHub step summary
options, code coverage settings, and test result configurations.

### Documentation Updates:
*
[`README.md`](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L19-R84):
Updated to include descriptions of the new input parameters and outputs,
providing detailed information on their usage and default values.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas

v2.0.7

Toggle v2.0.7's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🩹 [Patch]: Normalize path separators in PSScriptAnalyzer tests (#11)

## Description

This pull request includes a minor change to the
`PSScriptAnalyzer.Tests.ps1` file. The change ensures that backslashes
are replaced with forward slashes in the paths, improving consistency in
path formatting.

*
[`scripts/tests/PSScriptAnalyzer/PSScriptAnalyzer.Tests.ps1`](diffhunk://#diff-506030604c5eac4d6d266aa14f0e8cf3a8121425c1f579406e3a003d5b091ac9L77-R79):
Modified the path normalization logic to replace backslashes with
forward slashes.

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 📖 [Docs]
- [x] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas