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 diff --git a/requirements.psd1 b/requirements.psd1 index c5e2836..0c6b03f 100644 --- a/requirements.psd1 +++ b/requirements.psd1 @@ -6,7 +6,7 @@ Target = 'CurrentUser' } 'Pester' = @{ - Version = '5.4.0' + Version = '5.7.1' Parameters = @{ SkipPublisherCheck = $true }