Add Ruby 4.0 support #759
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: pwsh | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Test Generated PowerShell Cmdlets | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.2 | |
| bundler-cache: true | |
| - name: Install Pester | |
| run: Install-Module -Name Pester -Force | |
| - name: Generate PowerShell Cmdlets | |
| run: bundle exec rake pwsh:generate_module | |
| - name: Run Pester | |
| run: Invoke-Pester -Path ./pwsh_module -CI |