Bump dotnet-sdk from 8.0.421 to 8.0.422 (#371) #551
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| env: | |
| DOTNET_NOLOGO: true # don't print dotnet logo | |
| DOTNET_CLI_TELEMETRY_OPTOUT: true # disable telemetry (reduces dotnet tool output in logs) | |
| CI: true | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 # avoid shallow clone so nbgv can do its work. | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| - name: Build | |
| run: dotnet build Azure.Deployments.Extensibility.sln --configuration release | |
| - name: Run unit test | |
| run: dotnet test Azure.Deployments.Extensibility.sln --filter "Category=Unit" --configuration Release --collect:"XPlat Code Coverage" | |
| - name: Start minikube | |
| uses: medyagh/setup-minikube@latest | |
| - name: Run integration test | |
| run: dotnet test Azure.Deployments.Extensibility.sln --filter "Category=Integration" --configuration Release --collect:"XPlat Code Coverage" | |
| - name: Pack | |
| run: dotnet pack Azure.Deployments.Extensibility.sln --configuration release | |
| - name: Upload NuGet packages | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: bicep-extensibility-packages | |
| path: ./out/* | |
| if-no-files-found: error | |
| - name: Upload Code Coverage | |
| uses: codecov/codecov-action@v7 | |
| with: | |
| # TODO: remove after the repo goes public | |
| token: ${{ secrets.CODECOV_TOKEN }} |