From 6182d380c14fce6f39f00ce669df136d6a477825 Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Wed, 6 Aug 2025 11:45:23 -0700 Subject: [PATCH 1/3] Fixing Pester requirement --- requirements.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.psd1 b/requirements.psd1 index c5e2836..7b19064 100644 --- a/requirements.psd1 +++ b/requirements.psd1 @@ -6,7 +6,7 @@ Target = 'CurrentUser' } 'Pester' = @{ - Version = '5.4.0' + Version = '5.6.1' Parameters = @{ SkipPublisherCheck = $true } From 478c80640de251f0f7b0fe2fa208d63aa865a82a Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Wed, 6 Aug 2025 11:47:02 -0700 Subject: [PATCH 2/3] Bump Pester to 5.7.1 --- requirements.psd1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.psd1 b/requirements.psd1 index 7b19064..0c6b03f 100644 --- a/requirements.psd1 +++ b/requirements.psd1 @@ -6,7 +6,7 @@ Target = 'CurrentUser' } 'Pester' = @{ - Version = '5.6.1' + Version = '5.7.1' Parameters = @{ SkipPublisherCheck = $true } From c996b123f0240722bd15f737d1cc2ca6bb3ff78f Mon Sep 17 00:00:00 2001 From: Gilbert Sanchez Date: Wed, 6 Aug 2025 11:53:03 -0700 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E2=9C=A8=20Update=20CI=20workflow?= =?UTF-8?q?=20and=20add=20Publish=20Module=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Refactored the CI workflow to trigger on `pull_request` and `workflow_dispatch`. * Removed the previous test job and replaced it with a reference to the `ModuleCI.yml`. * Introduced a new `PublishModule.yml` workflow for publishing the module on `push` to `main`. --- .github/workflows/CI.yaml | 22 ++++++++-------------- .github/workflows/PublishModule.yml | 10 ++++++++++ 2 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 .github/workflows/PublishModule.yml diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 8393a0b..fc285a7 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -1,16 +1,10 @@ name: CI -on: [push, pull_request] +on: + pull_request: + workflow_dispatch: +permissions: + checks: write + pull-requests: write jobs: - test: - name: Run Tests - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - steps: - - uses: actions/checkout@v1 - - name: Test - shell: pwsh - run: ./build.ps1 -Task Test -Bootstrap - + ci: + uses: PSInclusive/.github/.github/workflows/ModuleCI.yml@main diff --git a/.github/workflows/PublishModule.yml b/.github/workflows/PublishModule.yml new file mode 100644 index 0000000..868072b --- /dev/null +++ b/.github/workflows/PublishModule.yml @@ -0,0 +1,10 @@ +name: Publish Module +on: + push: + branches: + - main + workflow_dispatch: +jobs: + build: + uses: PSInclusive/.github/.github/workflows/PublishModule.yml@main + secrets: inherit