# This file is part of Socialvoid.NET Project (https://github.com/Intellivoid/Socialvoid.NET). # Copyright (c) 2021 Socialvoid.NET Authors. # # This library is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, version 3. # # This library is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this source code of library. # If not, see . name: .NET-windows on: push: branches: [ master ] pull_request: branches: [ master ] jobs: build: runs-on: windows-latest steps: - uses: actions/checkout@v2 - name: Setup .NET 3 uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.x - name: Setup .NET 5.0.x uses: actions/setup-dotnet@v1 with: dotnet-version: 5.0.x - name: Restore dependencies run: dotnet restore - name: Building... run: dotnet build --no-restore - name: Testing... run: dotnet test