diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..eeee5fe --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,21 @@ +name: .NET + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '8.0.x' + - name: Restore source-indexer.sln + run: dotnet restore src/source-indexer.sln + - name: Build source-indexer.sln + run: dotnet build --no-restore src/source-indexer.sln