Skip to content

Add new AvoidUsingNewObject rule #404

Add new AvoidUsingNewObject rule

Add new AvoidUsingNewObject rule #404

Re-run triggered June 12, 2026 20:29
Status Failure
Total duration 3m 48s
Artifacts 6

ci-test.yml

on: pull_request
Matrix: pester
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 3 warnings, and 2 notices
pester (windows-latest)
Process completed with exit code 1.
pester (windows-latest)
[-] AvoidUsingPlainTextForPassword.When there are violations.has the correct violation message 1ms (1ms|0ms)
pester (windows-latest)
[-] AvoidUsingPlainTextForPassword.When there are violations.suggests corrections 2ms (1ms|0ms)
pester (windows-latest)
[-] AvoidUsingPlainTextForPassword.When there are violations.has expected violations count 8ms (8ms|0ms)
pester (windows-latest)
[-] AvoidUsingNewObject.Fix.HashSet InvariantCultureIgnoreCase 6ms (6ms|0ms)
pester (windows-latest)
[-] AvoidUsingNewObject.Fix.PSCustomObject Property 5ms (5ms|0ms)
pester (ubuntu-latest)
The strategy configuration was canceled because "ci.windows-latest" failed
pester (ubuntu-latest)
The operation was canceled.
pester (macos-latest)
The strategy configuration was canceled because "ci.windows-latest" failed
pester (macos-latest)
The operation was canceled.
pester (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pester (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pester (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
pester (windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
pester (windows-latest)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
PSScriptAnalyzer-package-macos-latest
13.5 MB
sha256:d5e78d8030e2e3134e87d091bd476b95f823fbfd46fad6310d93d97ccbd24236
PSScriptAnalyzer-package-ubuntu-latest
13.5 MB
sha256:3026503726e4a39df8c964f24c112fc545c53a51e1356e8da6ead0c1716fcb65
PSScriptAnalyzer-package-windows-latest
13.5 MB
sha256:1446127ac96c14299760f1406a8bbefb6bba67d287b5dfafa7f52b63ff8275a1
PSScriptAnalyzer-tests-macos-latest
63.9 KB
sha256:9ed3d7ed5058e29c76e07392b9b54ebf63e98e963b94ab38da5d019ecd1d80d4
PSScriptAnalyzer-tests-ubuntu-latest
62.6 KB
sha256:ea7264b344a9e9768b392f9a5790ae15345ffe4d6aff4044d3d8aad527c7081f
PSScriptAnalyzer-tests-windows-latest
62.7 KB
sha256:820a55086b6d473953a5d42d6a257b1ee465950a097098e077eb25faac3456b7