Skip to content

v5.0.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 12:14
· 15 commits to main since this release
ee6798e

🌟 [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.yml which has previously been used for nightly runs, checking that the logic works.

    • Mitigation: Adjusted workflow.yml to work for the same scenarios replacing CI.yml for this usecase.
    • Fixes #204
  • 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.