Stucco icon indicating copy to clipboard operation
Stucco copied to clipboard

[Github Action] PSDepends Requires Pester 3.1.1 by GH has 3.5.5 available

Open HeyItsGilbert opened this issue 2 years ago • 0 comments

Description If you commit the initial module generated by Stucco, the Github Action for CI fails because it can't load Pester.

Fix after changing it to 5.3.3:

Steps to Reproduce

  1. Create new module
  2. Create repo and commit code unchanged
  3. Watch CI job fail on Windows and Mac (e.g. https://github.com/HeyItsGilbert/TunnelGoons/actions/runs/2593549732
  4. Update requirements.psd1 to use Pester 5.3.3.
  5. Watch is succeed (e.g. https://github.com/HeyItsGilbert/TunnelGoons/actions/runs/2593629739)

Current Behavior The CI.yaml job fails in Github.

Expected behavior The CI.yaml job succeeds on Github with the initial version of the module.

Possible Solution Update requirements.psd1 to use Pester 5.3.3

HeyItsGilbert avatar Jul 01 '22 19:07 HeyItsGilbert