diff --git a/.github/workflows/dotnet.yml b/.github/workflows/build.yml similarity index 58% rename from .github/workflows/dotnet.yml rename to .github/workflows/build.yml index d85c46f..d85bfb1 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/build.yml @@ -27,3 +27,23 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore + test: + timeout-minutes: 15 + continue-on-error: true + runs-on: "ubuntu-latest" + env: + NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages + strategy: + matrix: + dotnet: ["8.0.x"] + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: ${{ matrix.dotnet }} + dotnet-quality: 'preview' + - name: Install dependencies + run: dotnet restore + - name: Test + run: dotnet test --no-restore