Update azure-dev.yml #8
This file contains 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: eShop Pull Request Validation | |
on: | |
pull_request: | |
paths-ignore: | |
- '**.md' | |
- 'src/ClientApp/**' | |
- 'test/ClientApp.UnitTests/**' | |
- '.github/workflows/pr-validation-maui.yml' | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '**.md' | |
- 'src/ClientApp/**' | |
- 'test/ClientApp.UnitTests/**' | |
- '.github/workflows/pr-validation-maui.yml' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET (global.json) | |
uses: actions/setup-dotnet@v3 | |
- name: Update Workloads | |
run: dotnet workload update | |
- name: Install Workloads | |
run: dotnet workload install aspire | |
- name: Build | |
run: dotnet build eShop.Web.slnf | |
- name: Test | |
run: dotnet test eShop.Web.slnf |