diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3ec3a1a..e3ca12a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,9 +13,21 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup .NET Core uses: actions/setup-dotnet@v1 + with: + dotnet-version: 2.1.607 + + - name: Restore NuGet packages + run: dotnet restore + - name: Build with dotnet run: | DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet build --nologo --configuration Release + + - name: Run Unit Tests + run: | + cd StringBuilderExtensionsTests + dotnet run -c Release --no-build \ No newline at end of file