Test PowerShell Preview in CI by andyleejordan · Pull Request #2070 · PowerShell/PSScriptAnalyzer
Ah I didn't update the title. This will test the PowerShell Preview, I'm just waiting on my upstream PR to be merged so I don't have to install it to a
-Destinationmanually.
Gotcha. Makes sense. But I think it would also be useful to additionally also have one run with PowerShell 7.4 since it is LTS but the CI runners always use the latest version, which is 7.5 atm. For now we could just run test suite with PS 7.4 locally, just requires manual uninstall of newer versions because some tests call into pwsh from PATH