diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1febb21..b9e2cd0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,18 +4,25 @@ on: paths: - 'src/**' - '.github/workflows/**' + jobs: build: + name: 🛠️ Build and test runs-on: windows-2022 + steps: - - uses: actions/checkout@v3 - - name: Add msbuild to PATH - uses: microsoft/setup-msbuild@v1.1 - - name: Build + - name: 🔖 Check-out + uses: actions/checkout@v4 + + - name: ⚙️ Setup MSBuild + uses: microsoft/setup-msbuild@v2 + + - name: 🛠️ Build run: msbuild ./src/MusicManager/MusicManager.sln /restore /p:Configuration=Release /p:GenerateAppxPackageOnBuild=false - - name: Test Domain + + - name: 🕵️ Test Domain run: dotnet test ./src/MusicManager/MusicManager.Domain.Test/MusicManager.Domain.Test.csproj -c Release --no-build - - name: Test Applications + - name: 🕵️ Test Applications run: dotnet test ./src/MusicManager/MusicManager.Applications.Test/MusicManager.Applications.Test.csproj -c Release --no-build - - name: Test Presentation + - name: 🕵️ Test Presentation run: dotnet test ./src/MusicManager/MusicManager.Presentation.Test/MusicManager.Presentation.Test.csproj -c Release --no-build