Skip to content

Update dotnet.yml

Update dotnet.yml #2

Workflow file for this run

name: .NET
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Setup .NET
uses: actions/[email protected]
with:
dotnet-version: 8.0.x
- name: Restore dependencies for Catalog app
run: dotnet restore ./crs/Services/Catalog/Catalog.App/Catalog.App.csproj
- name: Build Catalog app
run: dotnet build ./crs/Services/Catalog/Catalog.App/Catalog.App.csproj --no-restore
- name: Unit test Catalog app
run: dotnet build ./tests/Catalog.UnitTests/Catalog.UnitTests.csproj --no-restore
- name: Restore dependencies for Identity app
run: dotnet restore ./crs/Services/Catalog/Identity.App/Identity.App.csproj
- name: Build Identity app
run: dotnet build ./crs/Services/Identity/Identity.App/Identity.App.csproj --no-restore
- name: Unit test Identity app
run: dotnet build ./tests/Identity.UnitTests/Identity.UnitTests.csproj --no-restore