Fixed: Corrected the container image path to ghcr.io/claudiospizzi/an… #18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: PowerShell - CI | |
| on: | |
| push: | |
| branches: [ 'main' ] | |
| tags-ignore: [ '**' ] | |
| paths: [ '**.ps1', '**.psm1', '**.psd1', '**.ps1xml', '.github/workflows/pwsh-ci.yml' ] | |
| jobs: | |
| build: | |
| name: Build & Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository code | |
| uses: actions/checkout@v5 | |
| - name: Install and cache PowerShell modules | |
| uses: potatoqualitee/[email protected] | |
| with: | |
| modules-to-cache: InvokeBuild:5.14.18,InvokeBuildHelper::,PSScriptAnalyzer:1.24.0,Pester:5.7.1 | |
| updatable: true | |
| - name: Build PowerShell module | |
| shell: pwsh | |
| run: | | |
| Invoke-Build -Task 'Build' | |
| - name: Test PowerShell module | |
| shell: pwsh | |
| run: | | |
| Invoke-Build -Task 'Test' |