v5.0.0
🌟 [Major]: Process-PSModule v5 (#205)
This pull request cleans up and consolidates the process into focussing on a single workflow, the workflow.yml file. It also updates some more logic and addresses some security issues for the checkout action.
Details
-
Removed the workflow
CI.ymlwhich has previously been used for nightly runs, checking that the logic works.- Mitigation: Adjusted
workflow.ymlto work for the same scenarios replacingCI.ymlfor this usecase. - Fixes #204
- Mitigation: Adjusted
-
Cleaned up some of the job flow depending on the different scenarios.
Job Open/Updated PR Merged PR Abandoned PR Manual Run Get-Settings ✅ Always ✅ Always ✅ Always ✅ Always Lint-Repository ✅ Yes ❌ No ❌ No ❌ No Build-Module ✅ Yes ✅ Yes ❌ No ✅ Yes Build-Docs ✅ Yes ✅ Yes ❌ No ✅ Yes Build-Site ✅ Yes ✅ Yes ❌ No ✅ Yes Test-SourceCode ✅ Yes ✅ Yes ❌ No ✅ Yes Lint-SourceCode ✅ Yes ✅ Yes ❌ No ✅ Yes Test-Module ✅ Yes ✅ Yes ❌ No ✅ Yes BeforeAll-ModuleLocal ✅ Yes ✅ Yes ❌ No ✅ Yes Test-ModuleLocal ✅ Yes ✅ Yes ❌ No ✅ Yes AfterAll-ModuleLocal ✅ Yes ✅ Yes ❌ No ✅ Yes Get-TestResults ✅ Yes ✅ Yes ❌ No ✅ Yes Get-CodeCoverage ✅ Yes ✅ Yes ❌ No ✅ Yes Publish-Site ❌ No ✅ Yes (only) ❌ No ❌ No Publish-Module ✅ Yes* ✅ Yes* ✅ Yes ✅ Yes* - Only run linter on CI runs.
- Fast forward to "Publish-Module", which also handles removal of prereleases (GitHub only).
- Only run "Publish-Site" on a merged PR.