Bump actions/checkout from 4 to 5 #47
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: CI | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: global.json | |
| - name: Install required PowerShell modules | |
| shell: pwsh | |
| run: | | |
| Install-PSResource -Name ChangelogManagement -Scope CurrentUser -Repository PSGallery -TrustRepository | |
| - name: Run build script | |
| shell: pwsh | |
| run: | | |
| ./build.ps1 -Configuration Release -Clean -Test -Verbose |