Wire up plugin wrappers into execution pipeline + 9 E2E tests against… #2342
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: Validate Build | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - 'feature/**' | |
| paths-ignore: [ '**.md' ] | |
| pull_request: | |
| branches: | |
| - main | |
| - 'feature/**' | |
| paths-ignore: [ '**.md' ] | |
| permissions: | |
| contents: read | |
| env: | |
| solution: Microsoft.DurableTask.sln | |
| config: release | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup .NET 6.0 | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '6.0.x' | |
| - name: Setup .NET 8.0 | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '8.0.x' | |
| - name: Setup .NET 10.0 | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| dotnet-version: '10.0.x' | |
| - name: Setup .NET from global.json | |
| uses: actions/setup-dotnet@v3 | |
| with: | |
| global-json-file: global.json | |
| - name: Restore dependencies | |
| run: dotnet restore $env:solution | |
| - name: Build | |
| run: dotnet build $env:solution --configuration $env:config --no-restore -p:FileVersionRevision=$env:GITHUB_RUN_NUMBER | |
| - name: Test | |
| run: dotnet test $env:solution --configuration $env:config --no-build --verbosity normal | |
| - name: Pack | |
| run: dotnet pack $env:solution --configuration $env:config --no-build | |
| - name: Upload | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pkg | |
| path: out/pkg |