AzureAD / microsoft-identity-web

Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
MIT License
684 stars 217 forks source link

Don't build solution multiple times in unit test GitHub Action #3147

Open pmaytak opened 2 weeks ago

pmaytak commented 2 weeks ago

We have a GitHub Action that runs unit tests: https://github.com/AzureAD/microsoft-identity-web/actions/workflows/dotnetcore.yml

Currently the runner doesn't have the latest VS and MSBuild versions needed (17.12) to build .NET 9.

As a workaround we removed --no-restore --no-build when running .NET 9 tests only, meaning we perform a build. https://github.com/AzureAD/microsoft-identity-web/actions/runs/11846915780/workflow#L52

Once the runner is updated, we need to add those flags back in to speed up the tests.